Click or drag to resize

VisualServerLightSetUseGi Method

Sets whether GI probes capture light information from this light. Deprecated method. Use LightSetBakeMode(RID, VisualServerLightBakeMode) instead. This method is only kept for compatibility reasons and calls LightSetBakeMode(RID, VisualServerLightBakeMode) internally, setting the bake mode to or depending on the given parameter.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void LightSetUseGi(
	RID light,
	bool enabled
)

Parameters

light
Type: GodotRID

[Missing <param name="light"/> documentation for "M:Godot.VisualServer.LightSetUseGi(Godot.RID,System.Boolean)"]

enabled
Type: SystemBoolean

[Missing <param name="enabled"/> documentation for "M:Godot.VisualServer.LightSetUseGi(Godot.RID,System.Boolean)"]

See Also