Improve the 3D light documentations

See https://github.com/godotengine/godot-docs/issues/3670.
This commit is contained in:
Hugo Locurcio 2020-06-10 10:07:38 +02:00
parent ae21b5ddad
commit f7e21d8e88
3 changed files with 11 additions and 11 deletions

View file

@ -16,7 +16,7 @@
The light's attenuation (drop-off) curve. A number of presets are available in the [b]Inspector[/b] by right-clicking the curve.
</member>
<member name="omni_range" type="float" setter="set_param" getter="get_param" default="5.0">
The light's radius.
The light's radius. Note that the effectively lit area may appear to be smaller depending on the [member omni_attenuation] in use. No matter the [member omni_attenuation] in use, the light will never reach anything outside this radius.
</member>
<member name="omni_shadow_mode" type="int" setter="set_shadow_mode" getter="get_shadow_mode" enum="OmniLight3D.ShadowMode" default="1">
See [enum ShadowMode].