Table of Contents

Struct PhysicsSweepCylinder3DRequest

Namespace
Gravitas.Queries
Assembly
Gravitas.dll

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

source LSCylinderCollider
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 cylinder swept from its current transform.

public LSCylinderCollider Source { get; }

Property Value

LSCylinderCollider