PhysicsWorld.DrawResults.CircleGeometryElement
A Circle Geometry Element.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Struct
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public readonly struct PhysicsWorld.DrawResults.CircleGeometryElement
Fields
Value | Description |
|---|---|
| color | The color of the circle element. |
| drawFillOptions | How the geometry element is filled with the color. See PhysicsWorld.DrawFillOptions. |
| elementDepth | The depth of the element. |
| radius | The radius of the circle element. |
| transform | The transform of the circle element. |
Static Methods
Method | Description |
|---|---|
| Size | The data size of the circle element. This can be useful in understanding the memory stride in a ComputeBuffer or other structure. |