cullFaces(...)

cullFaces(val : Z.CullFaces) : this;

Sets the type of culling to perform for this object.

Default value: Z.CullFaces.inherit

Parameters

Parameter Type Description
val Z.CullFaces The value to set.

Returns

this

Example

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