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
ColliderId
Gets the body's context-local collider identifier.
public int ColliderId { get; }
Property Value
ColliderType
Gets the body's collider type.
public ColliderType ColliderType { get; }
Property Value
Event
Gets the underlying diagnostic event.
public GravitasDiagnosticEvent Event { get; }
Property Value
Frame
Gets the simulation frame in which the torque was captured.
public int Frame { get; }
Property Value
Sequence
Gets the event's sequence within its capture buffer.
public int Sequence { get; }
Property Value
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