Class SliceUtility
Contains useful methods for slicing many types of objects.
Namespace: Slicer.Core
Assembly: 27Slicer.Core.dll
Syntax
public static class SliceUtility
Fields
Name | Description |
---|---|
SkipUvHash | The hash that is to be used when UVs are not being sliced. |
SkipVertHash | The hash that is to be used when Verts are not being sliced. |
Methods
Name | Description |
---|---|
SliceUvs(Mesh, Mesh, MeshRenderer, Transform, Vector3, Boolean, Hash128) | Slices the UVs of the supplied |
SliceVector(Vector3, Matrix4x4, Vector3, Vector3, Vector3, Vector3) | Slices a single vector after transforming it by the supplied matrix. |
SliceVector(Vector3, Vector3, Bounds, Bounds) | Slices a single vector. |
SliceVector(Vector3, Vector3, Vector3, Vector3, Vector3) | Slices a single vector. |
SliceVerts(Bounds, Transform, Vector3, Transform, Bounds, Bounds) | Slices a bounds as if it is made up of discrete vertices. |
SliceVerts(Mesh, Mesh, Transform, Vector3, Transform, Bounds, Bounds, Boolean, Hash128) | Slices the vertices of the supplied |