Enumeration Casemigueldeicaza.swiftgodot 0.45.0SwiftGodot
front
Front face triangles will be culled when facing the camera. This results in only the back side of triangles being drawn. For closed-surface meshes, this means that the interior of the mesh will be drawn instead of the exterior.
BaseMaterial3D.swift:293case front
Other cases
case back
Default cull mode. The back of the object is culled when not visible. Back face triangles will be culled when facing the camera. This results in only the front side of triangles being drawn. For closed-surface meshes, this means that only the exterior of the mesh will be visible.
case disabled
No face culling is performed; both the front face and back face will be visible.