Merge pull request #72079 from aXu-AP/arraymesh-shadow-mesh-doc

Add description for ArrayMesh.shadow_mesh class reference
This commit is contained in:
Rémi Verschelde 2023-01-26 23:00:06 +01:00
commit d1277f5cba
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -206,6 +206,7 @@
Overrides the [AABB] with one defined by user for use with frustum culling. Especially useful to avoid unexpected culling when using a shader to offset vertices.
</member>
<member name="shadow_mesh" type="ArrayMesh" setter="set_shadow_mesh" getter="get_shadow_mesh">
An optional mesh which is used for rendering shadows and can be used for the depth prepass. Can be used to increase performance of shadow rendering by using a mesh that only contains vertex position data (without normals, UVs, colors, etc.).
</member>
</members>
</class>