Click or drag to resize

VisualServerEnvironmentSetSsr Method

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

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void EnvironmentSetSsr(
	RID env,
	bool enable,
	int maxSteps,
	float fadeIn,
	float fadeOut,
	float depthTolerance,
	bool roughness
)

Parameters

env
Type: GodotRID

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

enable
Type: SystemBoolean

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

maxSteps
Type: SystemInt32

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

fadeIn
Type: SystemSingle

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

fadeOut
Type: SystemSingle

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

depthTolerance
Type: SystemSingle

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

roughness
Type: SystemBoolean

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

See Also