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
ColliderA2DType
Gets the first endpoint's 2D collider type.
public ColliderType2D ColliderA2DType { get; }
Property Value
ColliderADimension
Gets the first endpoint collider's dimension.
public GravitasColliderDimension ColliderADimension { get; }
Property Value
ColliderAId
Gets the first endpoint's context-local collider identifier.
public int ColliderAId { get; }
Property Value
ColliderAType
Gets the first endpoint's 3D collider type.
public ColliderType ColliderAType { get; }
Property Value
ColliderB2DType
Gets the second endpoint's 2D collider type.
public ColliderType2D ColliderB2DType { get; }
Property Value
ColliderBDimension
Gets the second endpoint collider's dimension.
public GravitasColliderDimension ColliderBDimension { get; }
Property Value
ColliderBId
Gets the second endpoint's context-local collider identifier.
public int ColliderBId { get; }
Property Value
ColliderBType
Gets the second endpoint's 3D collider type.
public ColliderType ColliderBType { get; }
Property Value
Event
Gets the underlying diagnostic event.
public GravitasDiagnosticEvent Event { get; }
Property Value
Frame
Gets the simulation frame in which the joint event was captured.
public int Frame { get; }
Property Value
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
Kind
Gets the joint event kind.
public GravitasDiagnosticEventKind Kind { get; }
Property Value
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
Sequence
Gets the event's sequence within its capture buffer.
public int Sequence { get; }