1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #56292 from skyace65/CullMode

This commit is contained in:
Yuri Roubinsky
2021-12-29 10:13:45 +03:00
committed by GitHub

View File

@@ -34,7 +34,7 @@
</member> </member>
<member name="flip_faces" type="bool" setter="set_flip_faces" getter="get_flip_faces" default="false"> <member name="flip_faces" type="bool" setter="set_flip_faces" getter="get_flip_faces" default="false">
If set, the order of the vertices in each triangle are reversed resulting in the backside of the mesh being drawn. If set, the order of the vertices in each triangle are reversed resulting in the backside of the mesh being drawn.
This gives the same result as using [constant BaseMaterial3D.CULL_BACK] in [member BaseMaterial3D.cull_mode]. This gives the same result as using [constant BaseMaterial3D.CULL_FRONT] in [member BaseMaterial3D.cull_mode].
</member> </member>
<member name="material" type="Material" setter="set_material" getter="get_material"> <member name="material" type="Material" setter="set_material" getter="get_material">
The current [Material] of the primitive mesh. The current [Material] of the primitive mesh.