summaryrefslogtreecommitdiff
path: root/doc/classes/Light2D.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Light2D.xml')
-rw-r--r--doc/classes/Light2D.xml20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/classes/Light2D.xml b/doc/classes/Light2D.xml
index 6df03a8190..fe1f25ad9e 100644
--- a/doc/classes/Light2D.xml
+++ b/doc/classes/Light2D.xml
@@ -78,34 +78,34 @@
</member>
</members>
<constants>
- <constant name="MODE_ADD" value="0">
+ <constant name="MODE_ADD" value="0" enum="Mode">
Adds the value of pixels corresponding to the Light2D to the values of pixels under it. This is the common behaviour of a light.
</constant>
- <constant name="MODE_SUB" value="1">
+ <constant name="MODE_SUB" value="1" enum="Mode">
Subtracts the value of pixels corresponding to the Light2D to the values of pixels under it, resulting in inversed light effect.
</constant>
- <constant name="MODE_MIX" value="2">
+ <constant name="MODE_MIX" value="2" enum="Mode">
Mix the value of pixels corresponding to the Light2D to the values of pixels under it by linear interpolation.
</constant>
- <constant name="MODE_MASK" value="3">
+ <constant name="MODE_MASK" value="3" enum="Mode">
The light texture of the Light2D is used as a mask, hiding or revealing parts of the screen underneath depending on the value of each pixel of the light (mask) texture.
</constant>
- <constant name="SHADOW_FILTER_NONE" value="0">
+ <constant name="SHADOW_FILTER_NONE" value="0" enum="ShadowFilter">
No filter applies to the shadow map. See [method shadow_filter].
</constant>
- <constant name="SHADOW_FILTER_PCF3" value="1">
+ <constant name="SHADOW_FILTER_PCF3" value="1" enum="ShadowFilter">
Percentage closer filtering (3 samples) applies to the shadow map. See [method shadow_filter].
</constant>
- <constant name="SHADOW_FILTER_PCF5" value="2">
+ <constant name="SHADOW_FILTER_PCF5" value="2" enum="ShadowFilter">
Percentage closer filtering (5 samples) applies to the shadow map. See [method shadow_filter].
</constant>
- <constant name="SHADOW_FILTER_PCF7" value="3">
+ <constant name="SHADOW_FILTER_PCF7" value="3" enum="ShadowFilter">
Percentage closer filtering (7 samples) applies to the shadow map. See [method shadow_filter].
</constant>
- <constant name="SHADOW_FILTER_PCF9" value="4">
+ <constant name="SHADOW_FILTER_PCF9" value="4" enum="ShadowFilter">
Percentage closer filtering (9 samples) applies to the shadow map. See [method shadow_filter].
</constant>
- <constant name="SHADOW_FILTER_PCF13" value="5">
+ <constant name="SHADOW_FILTER_PCF13" value="5" enum="ShadowFilter">
Percentage closer filtering (13 samples) applies to the shadow map. See [method shadow_filter].
</constant>
</constants>