Skip to content

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.

cullFaces(val : Z.CullFaces) : this;

Sets the type of culling to perform for this object.

Default value: Z.CullFaces.inherit

ParameterTypeDescription
valZ.CullFacesThe value to set.

this

myobject.cullFaces(Z.CullFaces.none);
// All faces in myobject will be drawn, even if they face away from the camera