Struct PhysicsOverlapAabb2DRequest
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
centerVector2dsizeVector2d
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
centerVector2dsizeVector2dlayerMaskPhysicsLayerMask
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
Size
Gets the full box size in the X/Z plane.
public Vector2d Size { get; }
Property Value
- Vector2d