Click or drag to resize

VisualServerEnvironmentSetAmbientLight Method

Sets the ambient light parameters. See Environment for more details.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void EnvironmentSetAmbientLight(
	RID env,
	Color color,
	float energy = 1f,
	float skyContibution = 0f
)

Parameters

env
Type: GodotRID

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

color
Type: GodotColor

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

energy (Optional)
Type: SystemSingle

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

skyContibution (Optional)
Type: SystemSingle

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

See Also