Struct PhysicsSweepSphere3DRequest
Describes one 3D swept-sphere query in a batched query call.
public readonly struct PhysicsSweepSphere3DRequest
- Inherited Members
Constructors
PhysicsSweepSphere3DRequest(Vector3d, Vector3d, Fixed64)
Creates a 3D swept-sphere request against all physics layers.
public PhysicsSweepSphere3DRequest(Vector3d start, Vector3d end, Fixed64 radius)
Parameters
startVector3dendVector3dradiusFixed64
PhysicsSweepSphere3DRequest(Vector3d, Vector3d, Fixed64, PhysicsLayerMask, LSCollider?)
Creates a 3D swept-sphere request.
public PhysicsSweepSphere3DRequest(Vector3d start, Vector3d end, Fixed64 radius, PhysicsLayerMask layerMask, LSCollider? excludedCollider = null)
Parameters
startVector3dendVector3dradiusFixed64layerMaskPhysicsLayerMaskexcludedColliderLSCollider
Properties
End
Gets the sphere center's world-space end.
public Vector3d End { get; }
Property Value
- Vector3d
ExcludedCollider
Gets the collider omitted from candidate results, if any.
public LSCollider? ExcludedCollider { get; }
Property Value
LayerMask
Gets the included physics layers.
public PhysicsLayerMask LayerMask { get; }
Property Value
Radius
Gets the swept sphere radius.
public Fixed64 Radius { get; }
Property Value
- Fixed64
Start
Gets the sphere center's world-space start.
public Vector3d Start { get; }
Property Value
- Vector3d