PhysicsWorld.DrawResults.PointElement
A Point Element.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Struct
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public readonly struct PhysicsWorld.DrawResults.PointElement
Fields
Value | Description |
|---|---|
| color | The color of the point element. |
| elementDepth | The depth of the element. |
| position | The position of the point element. |
| radius | The radius of the point element (in pixels). |
Static Methods
Method | Description |
|---|---|
| Size | The data size of the point element. This can be useful in understanding the memory stride in a ComputeBuffer or other structure. |