Struct PhysicsSweepCylinder3DRequest
Describes one registered 3D cylinder-source sweep in a batched query call.
public readonly struct PhysicsSweepCylinder3DRequest
- Inherited Members
Constructors
PhysicsSweepCylinder3DRequest(LSCylinderCollider, Vector3d, PhysicsLayerMask, LSCollider?, bool)
Creates a registered cylinder-source sweep request.
public PhysicsSweepCylinder3DRequest(LSCylinderCollider source, Vector3d displacement, PhysicsLayerMask layerMask, LSCollider? excludedCollider = null, bool includeTriggers = true)
Parameters
sourceLSCylinderColliderdisplacementVector3dlayerMaskPhysicsLayerMaskexcludedColliderLSColliderincludeTriggersbool
Properties
Displacement
Gets the world-space sweep displacement.
public Vector3d Displacement { get; }
Property Value
- Vector3d
ExcludedCollider
Gets the collider omitted from candidate results, if any.
public LSCollider? ExcludedCollider { get; }
Property Value
IncludeTriggers
Gets whether trigger colliders are included.
public bool IncludeTriggers { get; }
Property Value
LayerMask
Gets the included physics layers.
public PhysicsLayerMask LayerMask { get; }
Property Value
Source
Gets the registered cylinder swept from its current transform.
public LSCylinderCollider Source { get; }