Click or drag to resize

VisualServerEnvironmentSetTonemap Method

Sets the variables to be used with the "tonemap" post-process effect. See Environment for more details.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void EnvironmentSetTonemap(
	RID env,
	VisualServerEnvironmentToneMapper toneMapper,
	float exposure,
	float white,
	bool autoExposure,
	float minLuminance,
	float maxLuminance,
	float autoExpSpeed,
	float autoExpGrey
)

Parameters

env
Type: GodotRID

[Missing <param name="env"/> documentation for "M:Godot.VisualServer.EnvironmentSetTonemap(Godot.RID,Godot.VisualServer.EnvironmentToneMapper,System.Single,System.Single,System.Boolean,System.Single,System.Single,System.Single,System.Single)"]

toneMapper
Type: GodotVisualServerEnvironmentToneMapper

[Missing <param name="toneMapper"/> documentation for "M:Godot.VisualServer.EnvironmentSetTonemap(Godot.RID,Godot.VisualServer.EnvironmentToneMapper,System.Single,System.Single,System.Boolean,System.Single,System.Single,System.Single,System.Single)"]

exposure
Type: SystemSingle

[Missing <param name="exposure"/> documentation for "M:Godot.VisualServer.EnvironmentSetTonemap(Godot.RID,Godot.VisualServer.EnvironmentToneMapper,System.Single,System.Single,System.Boolean,System.Single,System.Single,System.Single,System.Single)"]

white
Type: SystemSingle

[Missing <param name="white"/> documentation for "M:Godot.VisualServer.EnvironmentSetTonemap(Godot.RID,Godot.VisualServer.EnvironmentToneMapper,System.Single,System.Single,System.Boolean,System.Single,System.Single,System.Single,System.Single)"]

autoExposure
Type: SystemBoolean

[Missing <param name="autoExposure"/> documentation for "M:Godot.VisualServer.EnvironmentSetTonemap(Godot.RID,Godot.VisualServer.EnvironmentToneMapper,System.Single,System.Single,System.Boolean,System.Single,System.Single,System.Single,System.Single)"]

minLuminance
Type: SystemSingle

[Missing <param name="minLuminance"/> documentation for "M:Godot.VisualServer.EnvironmentSetTonemap(Godot.RID,Godot.VisualServer.EnvironmentToneMapper,System.Single,System.Single,System.Boolean,System.Single,System.Single,System.Single,System.Single)"]

maxLuminance
Type: SystemSingle

[Missing <param name="maxLuminance"/> documentation for "M:Godot.VisualServer.EnvironmentSetTonemap(Godot.RID,Godot.VisualServer.EnvironmentToneMapper,System.Single,System.Single,System.Boolean,System.Single,System.Single,System.Single,System.Single)"]

autoExpSpeed
Type: SystemSingle

[Missing <param name="autoExpSpeed"/> documentation for "M:Godot.VisualServer.EnvironmentSetTonemap(Godot.RID,Godot.VisualServer.EnvironmentToneMapper,System.Single,System.Single,System.Boolean,System.Single,System.Single,System.Single,System.Single)"]

autoExpGrey
Type: SystemSingle

[Missing <param name="autoExpGrey"/> documentation for "M:Godot.VisualServer.EnvironmentSetTonemap(Godot.RID,Godot.VisualServer.EnvironmentToneMapper,System.Single,System.Single,System.Boolean,System.Single,System.Single,System.Single,System.Single)"]

See Also