Table of Contents

Struct GravitasWireCapsuleDebugDrawView

Namespace
Gravitas.Diagnostics
Assembly
Gravitas.dll

Typed read-only view over a wire-capsule draw command.

public readonly struct GravitasWireCapsuleDebugDrawView
Inherited Members

Properties

AxisLength

Gets the full distance between the capsule's hemisphere centers.

public Fixed64 AxisLength { get; }

Property Value

Fixed64

Center

Gets the capsule center.

public Vector3d Center { get; }

Property Value

Vector3d

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 capsule 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

Radius

Gets the capsule radius.

public Fixed64 Radius { get; }

Property Value

Fixed64

Rotation

Gets the capsule orientation.

public FixedQuaternion Rotation { get; }

Property Value

FixedQuaternion

Sequence

Gets the command's sequence within its capture buffer.

public int Sequence { get; }

Property Value

int