You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Binding LIGHT_PARAM_INTENSITY in RenderingServer
This commit is contained in:
@@ -4272,6 +4272,9 @@
|
|||||||
</constant>
|
</constant>
|
||||||
<constant name="LIGHT_PARAM_TRANSMITTANCE_BIAS" value="19" enum="LightParam">
|
<constant name="LIGHT_PARAM_TRANSMITTANCE_BIAS" value="19" enum="LightParam">
|
||||||
</constant>
|
</constant>
|
||||||
|
<constant name="LIGHT_PARAM_INTENSITY" value="20" enum="LightParam">
|
||||||
|
Constant representing the intensity of the light, measured in Lumens when dealing with a [SpotLight3D] or [OmniLight3D], or measured in Lux with a [DirectionalLight3D]. Only used when [member ProjectSettings.rendering/lights_and_shadows/use_physical_light_units] is [code]true[/code].
|
||||||
|
</constant>
|
||||||
<constant name="LIGHT_PARAM_MAX" value="21" enum="LightParam">
|
<constant name="LIGHT_PARAM_MAX" value="21" enum="LightParam">
|
||||||
Represents the size of the [enum LightParam] enum.
|
Represents the size of the [enum LightParam] enum.
|
||||||
</constant>
|
</constant>
|
||||||
|
|||||||
@@ -1933,6 +1933,7 @@ void RenderingServer::_bind_methods() {
|
|||||||
BIND_ENUM_CONSTANT(LIGHT_PARAM_SHADOW_OPACITY);
|
BIND_ENUM_CONSTANT(LIGHT_PARAM_SHADOW_OPACITY);
|
||||||
BIND_ENUM_CONSTANT(LIGHT_PARAM_SHADOW_BLUR);
|
BIND_ENUM_CONSTANT(LIGHT_PARAM_SHADOW_BLUR);
|
||||||
BIND_ENUM_CONSTANT(LIGHT_PARAM_TRANSMITTANCE_BIAS);
|
BIND_ENUM_CONSTANT(LIGHT_PARAM_TRANSMITTANCE_BIAS);
|
||||||
|
BIND_ENUM_CONSTANT(LIGHT_PARAM_INTENSITY);
|
||||||
BIND_ENUM_CONSTANT(LIGHT_PARAM_MAX);
|
BIND_ENUM_CONSTANT(LIGHT_PARAM_MAX);
|
||||||
|
|
||||||
BIND_ENUM_CONSTANT(LIGHT_BAKE_DISABLED);
|
BIND_ENUM_CONSTANT(LIGHT_BAKE_DISABLED);
|
||||||
|
|||||||
Reference in New Issue
Block a user