Attention: Here be dragons
This is the
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Defines a 2D polygon for LightOccluder2D.
Editor facility that helps you draw a 2D polygon used as resource for LightOccluder2D.
CullMode CULL_DISABLED =
Culling is disabled. See cull_mode.
CullMode CULL_CLOCKWISE =
Culling is performed in the clockwise direction. See cull_mode.
CullMode CULL_COUNTER_CLOCKWISE =
Culling is performed in the counterclockwise direction. See cull_mode.
bool closed =
true, 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.
CullMode cull_mode =