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