Table of Contents

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

GravitasDiagnosticEvent

Frame

Gets the simulation frame in which the query was captured.

public int Frame { get; }

Property Value

int

Hit

Gets whether the query found an overlap.

public bool Hit { get; }

Property Value

bool

HitColliderId

Gets the nearest hit collider identifier, or -1 when none was hit.

public int HitColliderId { get; }

Property Value

int

HitColliderType

Gets the nearest hit collider type.

public ColliderType HitColliderType { get; }

Property Value

ColliderType

HitCount

Gets the number of hits reported by the query.

public int HitCount { get; }

Property Value

int

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

int

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; }

Property Value

int