Struct GravitasForceDeltaDiagnosticView
- Namespace
- Gravitas.Diagnostics
- Assembly
- Gravitas.dll
Typed read-only view over a force-delta diagnostic event.
public readonly struct GravitasForceDeltaDiagnosticView
- Inherited Members
Properties
AccelerationDelta
Gets the resulting acceleration delta.
public Vector3d AccelerationDelta { get; }
Property Value
- Vector3d
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
Force
Gets the applied force.
public Vector3d Force { get; }
Property Value
- Vector3d
ForceMagnitude
Gets the magnitude of the applied force.
public Fixed64 ForceMagnitude { get; }
Property Value
- Fixed64
Frame
Gets the simulation frame in which the force was captured.
public int Frame { get; }
Property Value
Sequence
Gets the event's sequence within its capture buffer.
public int Sequence { get; }