Struct PhysicsSweepSphereAgainst2DRequest
Describes one mixed 3D swept-sphere query against embedded 2D slabs.
public readonly struct PhysicsSweepSphereAgainst2DRequest
- Inherited Members
Constructors
PhysicsSweepSphereAgainst2DRequest(Vector3d, Vector3d, Fixed64)
Creates a mixed 3D sphere sweep against all embedded 2D physics layers.
public PhysicsSweepSphereAgainst2DRequest(Vector3d start, Vector3d end, Fixed64 radius)
Parameters
startVector3dendVector3dradiusFixed64
PhysicsSweepSphereAgainst2DRequest(Vector3d, Vector3d, Fixed64, PhysicsLayerMask, LSCollider?, bool)
Creates a mixed 3D sphere sweep against embedded 2D slabs.
public PhysicsSweepSphereAgainst2DRequest(Vector3d start, Vector3d end, Fixed64 radius, PhysicsLayerMask layerMask, LSCollider? excludedCollider = null, bool includeTriggers = true)
Parameters
startVector3dendVector3dradiusFixed64layerMaskPhysicsLayerMaskexcludedColliderLSColliderincludeTriggersbool
Properties
End
Gets the sphere center's world-space end.
public Vector3d End { get; }
Property Value
- Vector3d
ExcludedCollider
Gets the optional 3D source collider used for mixed-collision filtering.
public LSCollider? ExcludedCollider { get; }
Property Value
IncludeTriggers
Gets whether trigger targets are included.
public bool IncludeTriggers { get; }
Property Value
LayerMask
Gets the included 2D target 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