Method ToMesh
ToMesh(in PhysicsCollider)
Converts a PhysicsCollider to a Mesh.
Declaration
public static Mesh ToMesh(this in PhysicsCollider collider)
Parameters
| Type | Name | Description |
|---|---|---|
| PhysicsCollider | collider | The collider to convert to a mesh. |
Returns
| Type | Description |
|---|---|
| Mesh | The created mesh. |