Table of Contents

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

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

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

int

Sequence

Gets the event's sequence within its capture buffer.

public int Sequence { get; }

Property Value

int