Struct GravitasMixedResponseImpulseDiagnosticView
- Namespace
- Gravitas.Diagnostics
- Assembly
- Gravitas.dll
Typed read-only view over a mixed 3D/2D response-impulse diagnostic event.
public readonly struct GravitasMixedResponseImpulseDiagnosticView
- Inherited Members
Properties
Collider2DDimension
Gets the 2D collider's dimension tag.
public GravitasColliderDimension Collider2DDimension { get; }
Property Value
Collider2DId
Gets the context-local 2D collider identifier.
public int Collider2DId { get; }
Property Value
Collider2DType
Gets the 2D collider type.
public ColliderType2D Collider2DType { get; }
Property Value
Collider3DDimension
Gets the 3D collider's dimension tag.
public GravitasColliderDimension Collider3DDimension { get; }
Property Value
Collider3DId
Gets the context-local 3D collider identifier.
public int Collider3DId { get; }
Property Value
Collider3DType
Gets the 3D collider type.
public ColliderType Collider3DType { get; }
Property Value
Event
Gets the underlying diagnostic event.
public GravitasDiagnosticEvent Event { get; }
Property Value
Frame
Gets the simulation frame in which the impulse was captured.
public int Frame { get; }
Property Value
HasPoint2D
Gets whether Point2D contains a materialized point.
public bool HasPoint2D { get; }
Property Value
HasPoint3D
Gets whether Point3D contains a materialized point.
public bool HasPoint3D { get; }
Property Value
Impulse
Gets the applied impulse.
public Vector3d Impulse { get; }
Property Value
- Vector3d
ImpulseMagnitude
Gets the magnitude of the applied impulse.
public Fixed64 ImpulseMagnitude { get; }
Property Value
- Fixed64
Iteration
Gets the response iteration that applied the impulse.
public int Iteration { get; }
Property Value
IterationLimit
Gets the configured response iteration limit.
public int IterationLimit { get; }
Property Value
NormalVelocity
Gets the relative normal velocity used by the response.
public Fixed64 NormalVelocity { get; }
Property Value
- Fixed64
Point2D
Gets the materialized impulse point on the 2D collider.
public Vector3d Point2D { get; }
Property Value
- Vector3d
Point3D
Gets the materialized impulse point on the 3D collider.
public Vector3d Point3D { get; }
Property Value
- Vector3d
Sequence
Gets the event's sequence within its capture buffer.
public int Sequence { get; }