Struct PhysicsOverlapCircleInDirection3DRequest
Describes one directional 3D X/Z projected-circle overlap in a batched query call.
public readonly struct PhysicsOverlapCircleInDirection3DRequest
- Inherited Members
Constructors
PhysicsOverlapCircleInDirection3DRequest(Vector3d, Fixed64, Vector3d, Fixed64)
Creates a directional X/Z projected-circle overlap request against all physics layers.
public PhysicsOverlapCircleInDirection3DRequest(Vector3d position, Fixed64 radius, Vector3d direction, Fixed64 maxDistance)
Parameters
positionVector3dradiusFixed64directionVector3dmaxDistanceFixed64
PhysicsOverlapCircleInDirection3DRequest(Vector3d, Fixed64, Vector3d, Fixed64, PhysicsLayerMask)
Creates a directional X/Z projected-circle overlap request with an include layer mask.
public PhysicsOverlapCircleInDirection3DRequest(Vector3d position, Fixed64 radius, Vector3d direction, Fixed64 maxDistance, PhysicsLayerMask layerMask)
Parameters
positionVector3dradiusFixed64directionVector3dmaxDistanceFixed64layerMaskPhysicsLayerMask
Properties
Direction
Gets the direction used to filter exact projected separations.
public Vector3d Direction { get; }
Property Value
- Vector3d
LayerMask
Gets the included physics layers.
public PhysicsLayerMask LayerMask { get; }
Property Value
MaxDistance
Gets the maximum admitted projected separation distance.
public Fixed64 MaxDistance { get; }
Property Value
- Fixed64
Position
Gets the circle center; only its X/Z components are used.
public Vector3d Position { get; }
Property Value
- Vector3d
Radius
Gets the projected circle radius.
public Fixed64 Radius { get; }
Property Value
- Fixed64