Method AsBounds
AsBounds(BoxCollider)
Converts the properties of a BoxCollider
into a bounds, in the objects local space.
Declaration
public static Bounds AsBounds(BoxCollider boxCollider)
Parameters
Type | Name | Description |
---|---|---|
BoxCollider | boxCollider | The box collider to convert |
Returns
Type | Description |
---|---|
Bounds | Returns the bounds of the box collider |