PhysicsShape.ShapeArray
Fixed vertex shape array.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public struct PhysicsShape.ShapeArray
Properties
Property | Description |
|---|---|
| this[] | Accessor for the shape array. |
| vertex0 | Vertex #0. |
| vertex1 | Vertex #1. |
| vertex2 | Vertex #2. |
| vertex3 | Vertex #3. |
| vertex4 | Vertex #4. |
| vertex5 | Vertex #5. |
| vertex6 | Vertex #6. |
| vertex7 | Vertex #7. |
Methods
Method | Description |
|---|---|
| AsSpan | Get the shape array as a span. |