Table of Contents

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

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 triangle color.

public GravitasDiagnosticColor Color { get; }

Property Value

GravitasDiagnosticColor

Command

Gets the underlying draw command.

public GravitasDebugDrawCommand Command { get; }

Property Value

GravitasDebugDrawCommand

Frame

Gets the simulation frame in which the command was captured.

public int Frame { get; }

Property Value

int

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; }

Property Value

int