Class ColliderExtensions
Utility functions acting on colliders.
Inherited Members
Namespace: Unity.Physics.Extensions
Assembly: Unity.Physics.dll
Syntax
public static class ColliderExtensions
Methods
ToMesh(in Collider)
Declaration
public static Mesh ToMesh(this in Collider collider)
Parameters
Type | Name | Description |
---|---|---|
Collider | collider | The collider to convert to a mesh. |
Returns
Type | Description |
---|---|
Mesh | The created mesh. |