Struct GravitasWireTriangleDebugDrawView
- Namespace
- Gravitas.Diagnostics
- Assembly
- Gravitas.dll
Typed read-only view over a wire-triangle draw command.
public readonly struct GravitasWireTriangleDebugDrawView
- Inherited Members
Properties
Collider2DType
Gets the associated 2D collider type.
public ColliderType2D Collider2DType { get; }
Property Value
ColliderDimension
Gets the associated collider dimension.
public GravitasColliderDimension ColliderDimension { get; }
Property Value
ColliderId
Gets the associated context-local collider identifier.
public int ColliderId { get; }
Property Value
ColliderType
Gets the associated 3D collider type.
public ColliderType ColliderType { get; }
Property Value
Color
Gets the triangle color.
public GravitasDiagnosticColor Color { get; }
Property Value
Command
Gets the underlying draw command.
public GravitasDebugDrawCommand Command { get; }
Property Value
Frame
Gets the simulation frame in which the command was captured.
public int Frame { get; }
Property Value
PointA
Gets the first triangle vertex.
public Vector3d PointA { get; }
Property Value
- Vector3d
PointB
Gets the second triangle vertex.
public Vector3d PointB { get; }
Property Value
- Vector3d
PointC
Gets the third triangle vertex.
public Vector3d PointC { get; }
Property Value
- Vector3d
Sequence
Gets the command's sequence within its capture buffer.
public int Sequence { get; }