Struct PhysicsRaycast3DRequest
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
startVector3dendVector3d
PhysicsRaycast3DRequest(Vector3d, Vector3d, PhysicsLayerMask)
Creates a 3D segment raycast request with an include layer mask.
public PhysicsRaycast3DRequest(Vector3d start, Vector3d end, PhysicsLayerMask layerMask)
Parameters
startVector3dendVector3dlayerMaskPhysicsLayerMask
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
Start
Gets the segment start in world space.
public Vector3d Start { get; }
Property Value
- Vector3d