An object which represents clipping plane.
Clipping in Verge3D is quite complex as you require several objects to render it correctly:
Stencil and cross-section objects are marked by the special .isAuxClippingMesh = true flag.
Creates a new ClippingPlaneObject.
See the base Object3D class for common properties.
Read-only flag to check if a given object is of type ClippingPlaneObject.
Always set to "ClippingPlaneObject", this can be used to find all clipping planes in a scene.
See the base Object3D class for common methods.
objToClip — object to clip.
Checks if the given mesh object should be clipped.
Assigns clipping parameters and auxiliary stencil meshes on the mesh object.
Creates and assigns auxiliary cross-section plane on the ClippingPlaneObject.
objToClip — (optional) object to clip.
Cleanup auxiliary meshes from objToClip or the clipping plane itself if objToClip=null.
For more info on how to obtain the source code of this module see this page.