Z.CullFaces
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
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
Section titled “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. |