GetPerimeterProjected(Vector2)
Get the length of the perimeter of the shape projected onto the specified axis.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public float GetPerimeterProjected(Vector2 axis)
Parameters
The axis to project the perimeter of the shape.
Returns
Type | Description |
|---|---|
| float | The length of the perimeter of the shape projected onto the specified axis. |