Class MeshDetails
MeshDetails is used to keep track of information about a single Mesh that is being sliced.
Namespace: Slicer
Assembly: 27Slicer.dll
Syntax
[Serializable]
public class MeshDetails : DetailsFields
| Name | Description |
|---|---|
| MeshFilter | The MeshFilter on the GameObject being tracked by this details object. |
| MeshRenderer | The MeshRenderer on the GameObject being tracked by this details object. |
| OriginalBounds | The Bounds of the mesh before it is sliced, in local space of the parent SlicerComponent. |
| OriginalSharedMesh | The Original Mesh on the GameObject being tracked by this details object. |
| SlicedMesh | The Modified Mesh on the GameObject being tracked by this details object. |
| SlicedUvHash | The hash of the UVs after slicing. |
| SlicedVertHash | The hash of the Verts after slicing. |
Methods
| Name | Description |
|---|---|
| CalculateHash() | Calculates the hash of this details object using important properties. |
| Destroy() | Used to destroy any components that is being managing. |
| DestroySlicedMesh() | Destroys the Sliced Mesh |
| DisableSlicing() | Resets any component to its original state. |
| EnableSlicing() | Sets any component to its sliced state. |
| FinalizeSlicing() | Readies this component up to finalize slicing |
| ResetHashes() | Resets the mesh hashes |