summaryrefslogtreecommitdiff
path: root/doc/classes/Light.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-02-12 09:59:06 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-02-12 12:37:13 +0100
commit0e3d6257377d9f73520e5ccdb7677fde23be3398 (patch)
tree900f2168fcdaadf1fe3532186bbfef273701fd51 /doc/classes/Light.xml
parent0c7fc80cc19fe9cd609b145245b1bb70f6a41e2e (diff)
doc: Sync classref with current source
Lots of internal API changes and some docstrings were lost in the conversion. I manually salvaged many of them but for all the rendering-related ones, an additional pass is needed. Added missing enum bindings in BaseMaterial3D and VisualServer.
Diffstat (limited to 'doc/classes/Light.xml')
-rw-r--r--doc/classes/Light.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/classes/Light.xml b/doc/classes/Light.xml
index 763f3b4b41..a2867a50d2 100644
--- a/doc/classes/Light.xml
+++ b/doc/classes/Light.xml
@@ -48,7 +48,7 @@
The light's strength multiplier.
</member>
<member name="light_indirect_energy" type="float" setter="set_param" getter="get_param" default="1.0">
- Secondary multiplier used with indirect light (light bounces). This works on both [BakedLightmap] and [GIProbe].
+ Secondary multiplier used with indirect light (light bounces). Used with [GIProbe].
</member>
<member name="light_negative" type="bool" setter="set_negative" getter="is_negative" default="false">
If [code]true[/code], the light's effect is reversed, darkening areas and casting bright shadows.
@@ -109,16 +109,18 @@
<constant name="PARAM_SHADOW_SPLIT_3_OFFSET" value="11" enum="Param">
Constant for accessing [member DirectionalLight.directional_shadow_split_3].
</constant>
- <constant name="PARAM_SHADOW_NORMAL_BIAS" value="12" enum="Param">
+ <constant name="PARAM_SHADOW_FADE_START" value="12" enum="Param">
+ </constant>
+ <constant name="PARAM_SHADOW_NORMAL_BIAS" value="13" enum="Param">
Constant for accessing [member DirectionalLight.directional_shadow_normal_bias].
</constant>
- <constant name="PARAM_SHADOW_BIAS" value="13" enum="Param">
+ <constant name="PARAM_SHADOW_BIAS" value="14" enum="Param">
Constant for accessing [member shadow_bias].
</constant>
- <constant name="PARAM_SHADOW_BIAS_SPLIT_SCALE" value="14" enum="Param">
+ <constant name="PARAM_SHADOW_BIAS_SPLIT_SCALE" value="15" enum="Param">
Constant for accessing [member DirectionalLight.directional_shadow_bias_split_scale].
</constant>
- <constant name="PARAM_MAX" value="15" enum="Param">
+ <constant name="PARAM_MAX" value="16" enum="Param">
Represents the size of the [enum Param] enum.
</constant>
<constant name="BAKE_DISABLED" value="0" enum="BakeMode">