Table of Contents

Struct PhysicsOverlapAabb2DRequest

Namespace
Gravitas.Queries
Assembly
Gravitas.dll

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

public readonly struct PhysicsOverlapAabb2DRequest
Inherited Members

Constructors

PhysicsOverlapAabb2DRequest(Vector2d, Vector2d)

Creates a pure 2D axis-aligned box-overlap request against all physics layers.

public PhysicsOverlapAabb2DRequest(Vector2d center, Vector2d size)

Parameters

center Vector2d
size Vector2d

PhysicsOverlapAabb2DRequest(Vector2d, Vector2d, PhysicsLayerMask)

Creates a pure 2D axis-aligned box-overlap request with an include layer mask.

public PhysicsOverlapAabb2DRequest(Vector2d center, Vector2d size, PhysicsLayerMask layerMask)

Parameters

center Vector2d
size Vector2d
layerMask PhysicsLayerMask

Properties

Center

Gets the box center in the X/Z plane.

public Vector2d Center { get; }

Property Value

Vector2d

LayerMask

Gets the included physics layers.

public PhysicsLayerMask LayerMask { get; }

Property Value

PhysicsLayerMask

Size

Gets the full box size in the X/Z plane.

public Vector2d Size { get; }

Property Value

Vector2d