Add sdf_collision property description to LightOccluder2D

This commit is contained in:
Linux User 2023-10-06 12:10:13 +02:00 committed by GitHub
parent 9e455f424a
commit 72c2d7d0da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@
The LightOccluder2D's occluder light mask. The LightOccluder2D will cast shadows only from Light2D(s) that have the same light mask(s).
</member>
<member name="sdf_collision" type="bool" setter="set_as_sdf_collision" getter="is_set_as_sdf_collision" default="true">
If enabled, the occluder will be part of a real-time generated signed distance field that can be used in custom shaders.
</member>
</members>
</class>