Click or drag to resize
Ab4d.SharpEngine logo

SlicerSliceModelNode Method

Overload List
 NameDescription
Public methodSliceModelNode(ModelNode, Transform) Slices the specified ModelNode with the specified Plane and returns a ModelNode that is in front of the plane (in the direction of plane's Normal vector). If the specified ModelNode is fully in front of the plane, then the same instance of ModelNode is returned. If the specified ModelNode is fully in back of the plane, then null is returned. If the specified ModelNode intersects the Plane, it is sliced and new front ModelNode object is returned.
Public methodSliceModelNode(ModelNode, MeshModelNode, MeshModelNode) Slices the specified ModelNode with the specified Plane and creates two new ModelNode objects: one ModelNode that is in front of the plane (in the direction of plane's Normal vector) and one ModelNode 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 ModelNode is null). If the specified ModelNode intersects the Plane, it is sliced and new ModelNode objects are created from it.
Public methodSliceModelNode(ModelNode, Transform, MeshModelNode, MeshModelNode) Slices the specified ModelNode with the specified Plane and creates two new ModelNode objects: one ModelNode that is in front of the plane (in the direction of plane's Normal vector) and one ModelNode 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 ModelNode is null). If the specified ModelNode intersects the Plane, it is sliced and new ModelNode objects are created from it.
Top
See Also