Click or drag to resize
Ab4d.SharpEngine logo

ModelUtilsSliceGroupNode Method

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