Struct PhysicsOverlapCone3DRequest
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
originVector3ddirectionVector3dlengthFixed64endRadiusFixed64
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
originVector3ddirectionVector3dlengthFixed64endRadiusFixed64layerMaskPhysicsLayerMask
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
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