enum CullFaces { "inherit", "back", "front", "both", "none" }

3D rendering hardware can optionally skip drawing (cull) each face in a 3D object depending on the order in which the vertices of that face are specified.

The Z.CullFaces enumeration provides a set of values that are used throughout the platform to indicate culling behavior.

Member List

Member Description
inherit The culling type will be determined by the object's parents.
back Faces pointing away from the camera will not be drawn.
front Faces pointing towards the camera will not be drawn.
both All of the faces in the object will be culled. No faces will be drawn.
none None of the faces will be culled. All of the faces will be drawn.
Open in new window