PhysicsWorld.DrawResults.LineElement
A Line Element.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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. |