Table of Contents

Struct PhysicsRaycast3DRequest

Namespace
Gravitas.Queries
Assembly
Gravitas.dll

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

public readonly struct PhysicsRaycast3DRequest
Inherited Members

Constructors

PhysicsRaycast3DRequest(Vector3d, Vector3d)

Creates a 3D segment raycast request against all physics layers.

public PhysicsRaycast3DRequest(Vector3d start, Vector3d end)

Parameters

start Vector3d
end Vector3d

PhysicsRaycast3DRequest(Vector3d, Vector3d, PhysicsLayerMask)

Creates a 3D segment raycast request with an include layer mask.

public PhysicsRaycast3DRequest(Vector3d start, Vector3d end, PhysicsLayerMask layerMask)

Parameters

start Vector3d
end Vector3d
layerMask PhysicsLayerMask

Properties

End

Gets the segment end in world space.

public Vector3d End { get; }

Property Value

Vector3d

LayerMask

Gets the included physics layers.

public PhysicsLayerMask LayerMask { get; }

Property Value

PhysicsLayerMask

Start

Gets the segment start in world space.

public Vector3d Start { get; }

Property Value

Vector3d