d516aab8fa
Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018 and fix the version tag in all files (not really stable yet, but it makes no sense to hardcode rc3 at this stage).
26 lines
966 B
XML
26 lines
966 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="LightOccluder2D" inherits="Node2D" category="Core" version="3.0-stable">
|
|
<brief_description>
|
|
Occludes light cast by a Light2D, casting shadows.
|
|
</brief_description>
|
|
<description>
|
|
Occludes light cast by a Light2D, casting shadows. The LightOccluder2D must be provided with an [OccluderPolygon2D] in order for the shadow to be computed.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<demos>
|
|
</demos>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="light_mask" type="int" setter="set_occluder_light_mask" getter="get_occluder_light_mask">
|
|
The LightOccluder2D's light mask. The LightOccluder2D will cast shadows only from Light2D(s) that have the same light mask(s).
|
|
</member>
|
|
<member name="occluder" type="OccluderPolygon2D" setter="set_occluder_polygon" getter="get_occluder_polygon">
|
|
The [OccluderPolygon2D] used to compute the shadow.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|