AsSpan()
Get the polygon vertices as a span.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public Span<Vector2> AsSpan()
Returns
Type | Description |
|---|---|
| Span<Vector2> | The span representing the vertices in the geometry. |