Method GetMeshDetailsByMesh
GetMeshDetailsByMesh(Transform, Mesh)
Gets the MeshDetails of a Mesh if it is being tracked by this MeshSlicerComponent.
Declaration
public MeshDetails GetMeshDetailsByMesh(Transform transform, Mesh mesh)Parameters
| Type | Name | Description |
|---|---|---|
| Transform | transform | the transform to search for. |
| Mesh | mesh | the mesh to search for. this could be either the OriginalSharedMesh or SlicedMesh. |
Returns
| Type | Description |
|---|---|
| MeshDetails | Returns the MeshDetails of the mesh, or null if it is not tracked by this MeshSlicerComponent. |