Table of Contents

Struct GravitasJointDiagnosticView

Namespace
Gravitas.Diagnostics
Assembly
Gravitas.dll

Typed read-only view over a joint diagnostic event.

public readonly struct GravitasJointDiagnosticView
Inherited Members

Properties

ClampedRowCount

Gets the clamped solver-row count for an impulse event.

public int ClampedRowCount { get; }

Property Value

int

ColliderA2DType

Gets the first endpoint's 2D collider type.

public ColliderType2D ColliderA2DType { get; }

Property Value

ColliderType2D

ColliderADimension

Gets the first endpoint collider's dimension.

public GravitasColliderDimension ColliderADimension { get; }

Property Value

GravitasColliderDimension

ColliderAId

Gets the first endpoint's context-local collider identifier.

public int ColliderAId { get; }

Property Value

int

ColliderAType

Gets the first endpoint's 3D collider type.

public ColliderType ColliderAType { get; }

Property Value

ColliderType

ColliderB2DType

Gets the second endpoint's 2D collider type.

public ColliderType2D ColliderB2DType { get; }

Property Value

ColliderType2D

ColliderBDimension

Gets the second endpoint collider's dimension.

public GravitasColliderDimension ColliderBDimension { get; }

Property Value

GravitasColliderDimension

ColliderBId

Gets the second endpoint's context-local collider identifier.

public int ColliderBId { get; }

Property Value

int

ColliderBType

Gets the second endpoint's 3D collider type.

public ColliderType ColliderBType { 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 joint event was captured.

public int Frame { get; }

Property Value

int

ImpulseMagnitude

Gets the accumulated impulse magnitude for an impulse event.

public Fixed64 ImpulseMagnitude { get; }

Property Value

Fixed64

JointId

Gets the context-local joint identifier.

public int JointId { get; }

Property Value

int

Kind

Gets the joint event kind.

public GravitasDiagnosticEventKind Kind { get; }

Property Value

GravitasDiagnosticEventKind

LimitError

Gets the limit error reported by an impulse or limit event.

public Fixed64 LimitError { get; }

Property Value

Fixed64

LimitErrorMagnitude

Gets the limit-error magnitude stored by an impulse event.

public Fixed64 LimitErrorMagnitude { get; }

Property Value

Fixed64

LinearAnchorErrorMagnitude

Gets the linear anchor-error magnitude for an impulse event.

public Fixed64 LinearAnchorErrorMagnitude { get; }

Property Value

Fixed64

MotorErrorMagnitude

Gets the motor error magnitude for an impulse event.

public Fixed64 MotorErrorMagnitude { get; }

Property Value

Fixed64

MotorImpulseMagnitude

Gets the motor impulse magnitude for an impulse event.

public Fixed64 MotorImpulseMagnitude { get; }

Property Value

Fixed64

RowCount

Gets the prepared solver-row count for an impulse event.

public int RowCount { get; }

Property Value

int

Sequence

Gets the event's sequence within its capture buffer.

public int Sequence { get; }

Property Value

int