Defines a plane that slices the mesh in half. More...
Public Member Functions | |
| UnityEngine.Plane | ToPlane () |
| Converts this object to a Unity plane. | |
Public Attributes | |
| Vector3 | Position |
| Local space position of the plane. | |
| Quaternion | Rotation |
| Local space rotation of the plane. | |
| float | Scale |
| Scale of the plane. | |
Static Public Attributes | |
| static readonly SlicePlane | Identity |
| Default, "identity" plane. | |
Defines a plane that slices the mesh in half.
Values are in the mesh's local space.
| Quaternion DinoFracture.SlicePlane.Rotation |
Local space rotation of the plane.
Z dir is the plane's normal.
| float DinoFracture.SlicePlane.Scale |
Scale of the plane.
This is only used to display it in the editor. When slicing, the plane will be treated as infinite in size.