From 07d90b0e6f49fdefb44d151f5f772b0feb304887 Mon Sep 17 00:00:00 2001 From: Henrique Campos Date: Sun, 29 Oct 2017 15:19:38 -0200 Subject: [DOCS] Added documentation for OccluderPolygon2D --- doc/classes/OccluderPolygon2D.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/classes/OccluderPolygon2D.xml b/doc/classes/OccluderPolygon2D.xml index 99c1536ddf..7bc1f74762 100644 --- a/doc/classes/OccluderPolygon2D.xml +++ b/doc/classes/OccluderPolygon2D.xml @@ -1,8 +1,10 @@ + Defines a 2D polygon for LightOccluder2D. + Editor facility that helps you draw a 2D polygon used as resource for [LightOccluder2D]. @@ -54,18 +56,24 @@ + 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]. + Set the direction of the occlusion culling when not [code]CULL_DISABLED[/code]. Default value [code]DISABLED[/code]. + A [Vector2] array with the index for polygon's vertices positions. + Culling mode for the occlusion. Disabled means no culling. See [member cull_mode]. + Culling mode for the occlusion. Sets the culling to be in clockwise direction. See [member cull_mode]. + Culling mode for the occlusion. Sets the culling to be in counter clockwise direction. See [member cull_mode]. -- cgit v1.2.3