Click or drag to resize
Ab4d.SharpEngine logo

ModelUtilsSliceModelNode Method

Overload List
 NameDescription
Public methodStatic memberSliceModelNode(Plane, ModelNode) Slices the specified ModelNode with the specified Plane and returns two new MeshModelNode objects: one MeshModelNode that is in front of the plane (in the direction of plane's Normal vector) and one MeshModelNode that is in the back of the plane. If the specified ModelNode is fully in front (or in back) of the Plane, then the same instance of ModelNode is returned (the other returned GroupNode is null). If the specified ModelNode intersects the Plane, it is sliced and new MeshModelNode objects are created from it.
Public methodStatic memberSliceModelNode(Plane, ModelNode, Transform) Slices the specified ModelNode with the specified Plane and returns two new MeshModelNode objects: one MeshModelNode that is in front of the plane (in the direction of plane's Normal vector) and one MeshModelNode that is in the back of the plane. If the specified ModelNode is fully in front (or in back) of the Plane, then the same instance of ModelNode is returned (the other returned GroupNode is null). If the specified ModelNode intersects the Plane, it is sliced and new MeshModelNode objects are created from it.
Top
See Also