Table of Contents

Struct PhysicsSweepCompound3DRequest

Namespace
Gravitas.Queries
Assembly
Gravitas.dll

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

source LSCompoundCollider
displacement Vector3d
layerMask PhysicsLayerMask
excludedCollider LSCollider
includeTriggers bool

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

LSCollider

IncludeTriggers

Gets whether trigger colliders are included.

public bool IncludeTriggers { get; }

Property Value

bool

LayerMask

Gets the included physics layers.

public PhysicsLayerMask LayerMask { get; }

Property Value

PhysicsLayerMask

Source

Gets the registered compound collider swept from its current transform.

public LSCompoundCollider Source { get; }

Property Value

LSCompoundCollider