summaryrefslogtreecommitdiff
path: root/doc/classes/OccluderPolygon2D.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/OccluderPolygon2D.xml')
-rw-r--r--doc/classes/OccluderPolygon2D.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/classes/OccluderPolygon2D.xml b/doc/classes/OccluderPolygon2D.xml
index a52d51fa7d..ffab87f1a6 100644
--- a/doc/classes/OccluderPolygon2D.xml
+++ b/doc/classes/OccluderPolygon2D.xml
@@ -15,21 +15,22 @@
If [code]true[/code], closes the polygon. A closed OccluderPolygon2D occludes the light coming from any direction. An opened OccluderPolygon2D occludes the light only at its outline's direction. Default value: [code]true[/code].
</member>
<member name="cull_mode" type="int" setter="set_cull_mode" getter="get_cull_mode" enum="OccluderPolygon2D.CullMode">
- Set the direction of the occlusion culling or disable it. Default value: [constant CULL_DISABLED].
+ The culling mode to use. Default value: [constant CULL_DISABLED].
</member>
<member name="polygon" type="PoolVector2Array" setter="set_polygon" getter="get_polygon">
- A [Vector2] array with the index for polygon's vertices positions. Note that the returned value is a copy of the underlying array, rather than a reference.
+ A [Vector2] array with the index for polygon's vertices positions.
+ [b]Note:[/b] The returned value is a copy of the underlying array, rather than a reference.
</member>
</members>
<constants>
<constant name="CULL_DISABLED" value="0" enum="CullMode">
- Culling mode for the occlusion. Disabled means no culling. See [member cull_mode].
+ Culling is disabled. See [member cull_mode].
</constant>
<constant name="CULL_CLOCKWISE" value="1" enum="CullMode">
- Culling mode for the occlusion. Sets the culling to be in clockwise direction. See [member cull_mode].
+ Culling is performed in the clockwise direction. See [member cull_mode].
</constant>
<constant name="CULL_COUNTER_CLOCKWISE" value="2" enum="CullMode">
- Culling mode for the occlusion. Sets the culling to be in counter clockwise direction. See [member cull_mode].
+ Culling is performed in the counterclockwise direction. See [member cull_mode].
</constant>
</constants>
</class>