Class MeshColliderDetails
MeshColliderDetails is used to keep track of information about a single MeshCollider that is being sliced.
Namespace: Slicer
Assembly: 27Slicer.dll
Syntax
[Serializable]
public class MeshColliderDetails : ColliderDetails
Fields
Name | Description |
---|---|
MeshCollider | The MeshCollider on the GameObject being tracked by this details object. |
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. |
SlicedVertHash | The Original Mesh on the GameObject being tracked by this details object. |
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 |