Table of Contents

Struct PhysicsOverlapCone3DRequest

Namespace
Gravitas.Queries
Assembly
Gravitas.dll

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

public readonly struct PhysicsOverlapCone3DRequest
Inherited Members

Constructors

PhysicsOverlapCone3DRequest(Vector3d, Vector3d, Fixed64, Fixed64)

Creates an apex-origin 3D cone-volume overlap request against all physics layers.

public PhysicsOverlapCone3DRequest(Vector3d origin, Vector3d direction, Fixed64 length, Fixed64 endRadius)

Parameters

origin Vector3d
direction Vector3d
length Fixed64
endRadius Fixed64

PhysicsOverlapCone3DRequest(Vector3d, Vector3d, Fixed64, Fixed64, PhysicsLayerMask)

Creates an apex-origin 3D cone-volume overlap request with an include layer mask.

public PhysicsOverlapCone3DRequest(Vector3d origin, Vector3d direction, Fixed64 length, Fixed64 endRadius, PhysicsLayerMask layerMask)

Parameters

origin Vector3d
direction Vector3d
length Fixed64
endRadius Fixed64
layerMask PhysicsLayerMask

Properties

Direction

Gets the cone axis direction.

public Vector3d Direction { get; }

Property Value

Vector3d

EndRadius

Gets the cone radius at its base.

public Fixed64 EndRadius { get; }

Property Value

Fixed64

LayerMask

Gets the included physics layers.

public PhysicsLayerMask LayerMask { get; }

Property Value

PhysicsLayerMask

Length

Gets the cone length from apex to base.

public Fixed64 Length { get; }

Property Value

Fixed64

Origin

Gets the world-space cone apex.

public Vector3d Origin { get; }

Property Value

Vector3d