Struct GravitasCircleQueryDiagnosticView
- Namespace
- Gravitas.Diagnostics
- Assembly
- Gravitas.dll
Typed read-only view over a 3D X/Z circle-query diagnostic event.
public readonly struct GravitasCircleQueryDiagnosticView
- Inherited Members
Properties
Center
Gets the X/Z query-circle center.
public Vector3d Center { get; }
Property Value
- Vector3d
Direction
Gets the normalized directional filter, or zero for an undirected query.
public Vector3d Direction { get; }
Property Value
- Vector3d
Distance
Gets the nearest hit separation distance.
public Fixed64 Distance { get; }
Property Value
- Fixed64
End
Gets the endpoint of the directional-filter visualization.
public Vector3d End { get; }
Property Value
- Vector3d
Event
Gets the underlying diagnostic event.
public GravitasDiagnosticEvent Event { get; }
Property Value
Frame
Gets the simulation frame in which the query was captured.
public int Frame { get; }
Property Value
Hit
Gets whether the query found an overlap.
public bool Hit { get; }
Property Value
HitColliderId
Gets the nearest hit collider identifier, or -1 when none was hit.
public int HitColliderId { get; }
Property Value
HitColliderType
Gets the nearest hit collider type.
public ColliderType HitColliderType { get; }
Property Value
HitCount
Gets the number of hits reported by the query.
public int HitCount { get; }
Property Value
HitPoint
Gets the materialized nearest hit point, or zero when unavailable.
public Vector3d HitPoint { get; }
Property Value
- Vector3d
LayerMaskBits
Gets the query layer-mask bits.
public int LayerMaskBits { get; }
Property Value
Radius
Gets the query-circle radius.
public Fixed64 Radius { get; }
Property Value
- Fixed64
Sequence
Gets the event's sequence within its capture buffer.
public int Sequence { get; }