Table of Contents

Struct GravitasLineDebugDrawView

Namespace
Gravitas.Diagnostics
Assembly
Gravitas.dll

Typed read-only view over a line draw command.

public readonly struct GravitasLineDebugDrawView
Inherited Members

Properties

Collider2DType

Gets the associated 2D collider type.

public ColliderType2D Collider2DType { get; }

Property Value

ColliderType2D

ColliderDimension

Gets the associated collider dimension.

public GravitasColliderDimension ColliderDimension { get; }

Property Value

GravitasColliderDimension

ColliderId

Gets the associated context-local collider identifier.

public int ColliderId { get; }

Property Value

int

ColliderType

Gets the associated 3D collider type.

public ColliderType ColliderType { get; }

Property Value

ColliderType

Color

Gets the line color.

public GravitasDiagnosticColor Color { get; }

Property Value

GravitasDiagnosticColor

Command

Gets the underlying draw command.

public GravitasDebugDrawCommand Command { get; }

Property Value

GravitasDebugDrawCommand

End

Gets the line end point.

public Vector3d End { get; }

Property Value

Vector3d

Frame

Gets the simulation frame in which the command was captured.

public int Frame { get; }

Property Value

int

Sequence

Gets the command's sequence within its capture buffer.

public int Sequence { get; }

Property Value

int

Start

Gets the line start point.

public Vector3d Start { get; }

Property Value

Vector3d