PhysicsWorld.DrawResults.LineElement
A Line Element.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Struct
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
- Implements: IEquatable<LineElement>
public readonly struct PhysicsWorld.DrawResults.LineElement : IEquatable<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. |