Method GetMesh
GetMesh(BatchMeshID)
Returns the Mesh that corresponds to the given registered mesh ID, or null if no such mesh exists.
Declaration
public Mesh GetMesh(BatchMeshID mesh)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchMeshID | mesh | A mesh ID received from RegisterMesh(Mesh). |
Returns
| Type | Description |
|---|---|
| Mesh | The Mesh object corresponding to the given mesh ID if the ID is valid, or |