Struct GravitasRayDebugDrawView
- Namespace
- Gravitas.Diagnostics
- Assembly
- Gravitas.dll
Typed read-only view over a ray draw command.
public readonly struct GravitasRayDebugDrawView
- 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 ray color.
public GravitasDiagnosticColor Color { get; }
Property Value
Command
Gets the underlying draw command.
public GravitasDebugDrawCommand Command { get; }
Property Value
End
Gets the ray endpoint.
public Vector3d End { get; }
Property Value
- Vector3d
Frame
Gets the simulation frame in which the command was captured.
public int Frame { get; }
Property Value
Sequence
Gets the command's sequence within its capture buffer.
public int Sequence { get; }
Property Value
Start
Gets the ray origin.
public Vector3d Start { get; }
Property Value
- Vector3d