Click or drag to resize

VisualServerEnvironmentSetFog Method

Sets the variables to be used with the scene fog. See Environment for more details.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void EnvironmentSetFog(
	RID env,
	bool enable,
	Color color,
	Color sunColor,
	float sunAmount
)

Parameters

env
Type: GodotRID

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

enable
Type: SystemBoolean

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

color
Type: GodotColor

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

sunColor
Type: GodotColor

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

sunAmount
Type: SystemSingle

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

See Also