PhysicsWorld.DrawResults.LineElement
A Line Element.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Struct
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public readonly struct PhysicsWorld.DrawResults.LineElement
Fields
Value | Description |
|---|---|
| color | The color of the line element. |
| elementDepth | The depth of the element. |
| length | The length of the line element. |
| transform | The transform of the line element. |
Static Methods
Method | Description |
|---|---|
| Size | The data size of the line element. This can be useful in understanding the memory stride in a ComputeBuffer or other structure. |