Table of Contents

Struct GravitasTorqueDeltaDiagnosticView

Namespace
Gravitas.Diagnostics
Assembly
Gravitas.dll

Typed read-only view over a torque-delta diagnostic event.

public readonly struct GravitasTorqueDeltaDiagnosticView
Inherited Members

Properties

BodyId

Gets the context-local body identifier.

public int BodyId { get; }

Property Value

int

ColliderId

Gets the body's context-local collider identifier.

public int ColliderId { get; }

Property Value

int

ColliderType

Gets the body's collider type.

public ColliderType ColliderType { get; }

Property Value

ColliderType

Event

Gets the underlying diagnostic event.

public GravitasDiagnosticEvent Event { get; }

Property Value

GravitasDiagnosticEvent

Frame

Gets the simulation frame in which the torque was captured.

public int Frame { get; }

Property Value

int

Sequence

Gets the event's sequence within its capture buffer.

public int Sequence { get; }

Property Value

int

Torque

Gets the applied torque.

public Vector3d Torque { get; }

Property Value

Vector3d

TorqueMagnitude

Gets the magnitude of the applied torque.

public Fixed64 TorqueMagnitude { get; }

Property Value

Fixed64