Struct PhysicsSweepCompound3DRequest
Describes one registered compound-source sweep in a batched query call.
public readonly struct PhysicsSweepCompound3DRequest
- Inherited Members
Constructors
PhysicsSweepCompound3DRequest(LSCompoundCollider, Vector3d, PhysicsLayerMask, LSCollider?, bool)
Creates a registered compound-source sweep request.
public PhysicsSweepCompound3DRequest(LSCompoundCollider source, Vector3d displacement, PhysicsLayerMask layerMask, LSCollider? excludedCollider = null, bool includeTriggers = true)
Parameters
sourceLSCompoundColliderdisplacementVector3dlayerMaskPhysicsLayerMaskexcludedColliderLSColliderincludeTriggersbool
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 compound collider swept from its current transform.
public LSCompoundCollider Source { get; }