Table of Contents

Namespace Gravitas.Queries

Classes

GravitasQuery2DService

Owns batched pure 2D query behavior for one GravitasWorldContext.

GravitasQuery3DService

Owns batched 3D query behavior for one GravitasWorldContext.

GravitasQueryMixedService

Owns batched mixed 3D/2D query behavior for one GravitasWorldContext.

RaycastSegmentWorker

Stores segment data used by one context-owned raycast service while checking collider overlaps.

SweptSphereQueryWorker

Performs deterministic swept-sphere checks for one prepared segment.

Structs

Physics2DHit

Result from a pure 2D query.

Physics3DHit

Result from a 3D physics query.

PhysicsMixedHit

Result from an explicit mixed 3D/2D query.

PhysicsOverlapAabb2DRequest

Describes one pure 2D axis-aligned box overlap in a batched query call.

PhysicsOverlapCircle2DRequest

Describes one pure 2D circle overlap in a batched query call.

PhysicsOverlapCircle3DRequest

Describes one 3D X/Z circle overlap in a batched query call.

PhysicsOverlapCircleInDirection3DRequest

Describes one directional 3D X/Z projected-circle overlap in a batched query call.

PhysicsOverlapCone3DRequest

Describes one directional 3D cone-volume overlap in a batched query call.

PhysicsOverlapPolygon2DRequest

Describes one pure 2D convex polygon overlap by referencing a flat vertex buffer.

PhysicsQueryHitRange

Identifies the contiguous hits produced by one request inside a shared batch hit buffer.

PhysicsRaycast2DRequest

Describes one pure 2D segment raycast in a batched query call.

PhysicsRaycast3DRequest

Describes one 3D segment raycast in a batched query call.

PhysicsSweepCapsule3DRequest

Describes one registered 3D capsule-source sweep in a batched query call.

PhysicsSweepCircle2DRequest

Describes one pure 2D swept-circle query in a batched query call.

PhysicsSweepCircleAgainst3DRequest

Describes one mixed 2D swept-circle query against 3D colliders.

PhysicsSweepCompound3DRequest

Describes one registered compound-source sweep in a batched query call.

PhysicsSweepCone3DRequest

Describes one registered 3D cone-source sweep in a batched query call.

PhysicsSweepConvexMesh3DRequest

Describes one registered convex mesh-source sweep in a batched query call.

PhysicsSweepCuboid3DRequest

Describes one registered 3D cuboid-source sweep in a batched query call.

PhysicsSweepCylinder3DRequest

Describes one registered 3D cylinder-source sweep in a batched query call.

PhysicsSweepSphere3DRequest

Describes one 3D swept-sphere query in a batched query call.

PhysicsSweepSphereAgainst2DRequest

Describes one mixed 3D swept-sphere query against embedded 2D slabs.

Enums

PhysicsQueryReducerKind

Describes whether a query hit came from an exact shape reducer or a conservative fallback reducer.