| | Name | Description |
|---|
 | SliceMesh(StandardMesh, Transform) |
Slices the specified StandardMesh with the specified Plane and returns a StandardMesh that is in front of the plane
(in the direction of plane's Normal vector).
If the specified StandardMesh is fully in front of the plane, then the same instance of StandardMesh is returned.
If the specified StandardMesh is fully in back of the plane, then null is returned.
If the specified StandardMesh intersects the Plane, it is sliced and new front StandardMesh object is returned.
|
 | SliceMesh(StandardMesh, StandardMesh, StandardMesh) |
Slices the specified StandardMesh with the specified Plane and creates two new StandardMesh objects:
one StandardMesh that is in front of the plane (in the direction of plane's Normal vector) and one StandardMesh that is in the back of the plane.
If the specified StandardMesh is fully in front (or in back) of the Plane, then the same instance of StandardMesh is returned (the other returned StandardMesh is null).
If the specified StandardMesh intersects the Plane, it is sliced and new StandardMesh objects are created from it.
|
 | SliceMesh(StandardMesh, Transform, StandardMesh, StandardMesh) |
Slices the specified StandardMesh with the specified Plane and creates two new StandardMesh objects:
one StandardMesh that is in front of the plane (in the direction of plane's Normal vector) and one StandardMesh that is in the back of the plane.
If the specified StandardMesh is fully in front (or in back) of the Plane, then the same instance of StandardMesh is returned (the other returned StandardMesh is null).
If the specified StandardMesh intersects the Plane, it is sliced and new StandardMesh objects are created from it.
|