Table of Contents

Struct PhysicsSweepSphere3DRequest

Namespace
Gravitas.Queries
Assembly
Gravitas.dll

Describes one 3D swept-sphere query in a batched query call.

public readonly struct PhysicsSweepSphere3DRequest
Inherited Members

Constructors

PhysicsSweepSphere3DRequest(Vector3d, Vector3d, Fixed64)

Creates a 3D swept-sphere request against all physics layers.

public PhysicsSweepSphere3DRequest(Vector3d start, Vector3d end, Fixed64 radius)

Parameters

start Vector3d
end Vector3d
radius Fixed64

PhysicsSweepSphere3DRequest(Vector3d, Vector3d, Fixed64, PhysicsLayerMask, LSCollider?)

Creates a 3D swept-sphere request.

public PhysicsSweepSphere3DRequest(Vector3d start, Vector3d end, Fixed64 radius, PhysicsLayerMask layerMask, LSCollider? excludedCollider = null)

Parameters

start Vector3d
end Vector3d
radius Fixed64
layerMask PhysicsLayerMask
excludedCollider LSCollider

Properties

End

Gets the sphere center's world-space end.

public Vector3d End { get; }

Property Value

Vector3d

ExcludedCollider

Gets the collider omitted from candidate results, if any.

public LSCollider? ExcludedCollider { get; }

Property Value

LSCollider

LayerMask

Gets the included physics layers.

public PhysicsLayerMask LayerMask { get; }

Property Value

PhysicsLayerMask

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