mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
460 lines
22 KiB
C#
460 lines
22 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using System.Runtime.CompilerServices;
|
|
using Brutal.Interop;
|
|
using Brutal.Numerics;
|
|
|
|
namespace Brutal.JoltApi
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Used to do coarse collision detection operations to quickly prune out bodies that will not collide.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhase.h#L25">Jolt/Physics/Collision/BroadPhase/BroadPhase.h:25</see>
|
|
/// <br/>
|
|
/// <c>class BroadPhase : public BroadPhaseQuery</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[InteropHandle]
|
|
public readonly partial struct BroadPhase
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Context used during broadphase update
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhase.h#L44">Jolt/Physics/Collision/BroadPhase/BroadPhase.h:44</see>
|
|
/// <br/>
|
|
/// <c>struct UpdateState { void *mData[4]; }</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[StructLayout(LayoutKind.Explicit, Size = 32)]
|
|
public partial struct UpdateState
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Context used during broadphase update
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhase.h#L44">Jolt/Physics/Collision/BroadPhase/BroadPhase.h:44</see>
|
|
/// <br/>
|
|
/// <c>void *mData[4]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(0)]
|
|
public nint_4 Data;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Initialize the broadphase.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhase.h#L32">Jolt/Physics/Collision/BroadPhase/BroadPhase.h:32</see>
|
|
/// <br/>
|
|
/// <c>virtual void Init(BodyManager *inBodyManager, const BroadPhaseLayerInterface &inLayerInterface)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Initialize the broadphase.
|
|
/// @param inBodyManager The body manager singleton
|
|
/// @param inLayerInterface Interface that maps object layers to broadphase layers.
|
|
/// Note that the broadphase takes a pointer to the data inside inObjectToBroadPhaseLayer so this object should remain static.
|
|
/// </code>
|
|
/// </remarks>
|
|
public void Init(BodyManager bodyManager, BroadPhaseLayerInterface layerInterface) =>
|
|
Jolt.PInvoke.BroadPhase_Init(this, bodyManager, layerInterface);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Should be called after many objects have been inserted to make the broadphase more efficient, usually
|
|
/// done on startup only
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhase.h#L35">Jolt/Physics/Collision/BroadPhase/BroadPhase.h:35</see>
|
|
/// <br/>
|
|
/// <c>virtual void Optimize()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void Optimize() => Jolt.PInvoke.BroadPhase_Optimize(this);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Must be called just before updating the broadphase when none of the body mutexes are locked
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhase.h#L38">Jolt/Physics/Collision/BroadPhase/BroadPhase.h:38</see>
|
|
/// <br/>
|
|
/// <c>virtual void FrameSync()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void FrameSync() => Jolt.PInvoke.BroadPhase_FrameSync(this);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Must be called before UpdatePrepare to prevent modifications from being made to the tree
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhase.h#L41">Jolt/Physics/Collision/BroadPhase/BroadPhase.h:41</see>
|
|
/// <br/>
|
|
/// <c>virtual void LockModifications()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void LockModifications() => Jolt.PInvoke.BroadPhase_LockModifications(this);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Must be called after UpdateFinalize to allow modifications to the broadphase
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhase.h#L54">Jolt/Physics/Collision/BroadPhase/BroadPhase.h:54</see>
|
|
/// <br/>
|
|
/// <c>virtual void UnlockModifications()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public void UnlockModifications() => Jolt.PInvoke.BroadPhase_UnlockModifications(this);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Remove inNumber bodies in ioBodies from the broadphase. ioBodies may be shuffled around by this
|
|
/// function.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhase.h#L75">Jolt/Physics/Collision/BroadPhase/BroadPhase.h:75</see>
|
|
/// <br/>
|
|
/// <c>virtual void RemoveBodies(BodyID *ioBodies, int inNumber) = 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// bodies is the buffer the native call works on, and its element count travels with it: the call may write
|
|
/// through the span, and only for the duration of the call.
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe void RemoveBodies(Span<uint> bodies)
|
|
{
|
|
fixed (uint* bodies_fixed = bodies)
|
|
{
|
|
Jolt.PInvoke.BroadPhase_RemoveBodies(this, bodies_fixed, (int)bodies.Length);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Call whenever the aabb of a body changes (can change order of ioBodies array) inTakeLock should be false
|
|
/// if we're between LockModifications/UnlockModifications, in which case care needs to be taken to not call
|
|
/// this between UpdatePrepare/UpdateFinalize
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhase.h#L79">Jolt/Physics/Collision/BroadPhase/BroadPhase.h:79</see>
|
|
/// <br/>
|
|
/// <c>virtual void NotifyBodiesAABBChanged(BodyID *ioBodies, int inNumber, bool inTakeLock = true) = 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// bodies is the buffer the native call works on, and its element count travels with it: the call may write
|
|
/// through the span, and only for the duration of the call.
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe void NotifyBodiesAABBChanged(Span<uint> bodies, bool takeLock = true)
|
|
{
|
|
fixed (uint* bodies_fixed = bodies)
|
|
{
|
|
Jolt.PInvoke.BroadPhase_NotifyBodiesAABBChanged(this, bodies_fixed, (int)bodies.Length, takeLock);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Call whenever the layer (and optionally the aabb as well) of a body changes (can change order of
|
|
/// ioBodies array)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhase.h#L82">Jolt/Physics/Collision/BroadPhase/BroadPhase.h:82</see>
|
|
/// <br/>
|
|
/// <c>virtual void NotifyBodiesLayerChanged(BodyID *ioBodies, int inNumber) = 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// bodies is the buffer the native call works on, and its element count travels with it: the call may write
|
|
/// through the span, and only for the duration of the call.
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe void NotifyBodiesLayerChanged(Span<uint> bodies)
|
|
{
|
|
fixed (uint* bodies_fixed = bodies)
|
|
{
|
|
Jolt.PInvoke.BroadPhase_NotifyBodiesLayerChanged(this, bodies_fixed, (int)bodies.Length);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Find all colliding pairs between dynamic bodies Note that this function is very specifically tailored
|
|
/// for the PhysicsSystem::Update function, hence it is not part of the BroadPhaseQuery interface. One of
|
|
/// the assumptions it can make is that no locking is needed during the query as it will only be called
|
|
/// during a very particular part of the update.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhase.h#L93">Jolt/Physics/Collision/BroadPhase/BroadPhase.h:93</see>
|
|
/// <br/>
|
|
/// <c>virtual void FindCollidingPairs(BodyID *ioActiveBodies, int inNumActiveBodies, float inSpeculativeContactDistance, const ObjectVsBroadPhaseLayerFilter &inObjectVsBroadPhaseLayerFilter, const ObjectLayerPairFilter &inObjectLayerPairFilter, BodyPairCollector &ioPairCollector) const = 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Find all colliding pairs between dynamic bodies
|
|
/// Note that this function is very specifically tailored for the PhysicsSystem::Update function, hence it is not part of the BroadPhaseQuery interface.
|
|
/// One of the assumptions it can make is that no locking is needed during the query as it will only be called during a very particular part of the update.
|
|
/// @param ioActiveBodies is a list of bodies for which we need to find colliding pairs (this function can change the order of the ioActiveBodies array). This can be a subset of the set of active bodies in the system.
|
|
/// @param inNumActiveBodies is the size of the ioActiveBodies array.
|
|
/// @param inSpeculativeContactDistance Distance at which speculative contact points will be created.
|
|
/// @param inObjectVsBroadPhaseLayerFilter is the filter that determines if an object can collide with a broadphase layer.
|
|
/// @param inObjectLayerPairFilter is the filter that determines if two objects can collide.
|
|
/// @param ioPairCollector receives callbacks for every body pair found.
|
|
/// </code>
|
|
/// <para>
|
|
/// Collects every hit into findcollidingpairsresults, which you allocate and size. Returns how many were
|
|
/// written; totalHits is how many the query found, so a larger span is needed when it exceeds the span's
|
|
/// length.
|
|
/// </para>
|
|
/// <para>
|
|
/// activeBodies is the buffer the native call works on, and its element count travels with it: the call may
|
|
/// write through the span, and only for the duration of the call.
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe uint FindCollidingPairs(
|
|
Span<uint> activeBodies,
|
|
float speculativeContactDistance,
|
|
ObjectVsBroadPhaseLayerFilter objectVsBroadPhaseLayerFilter,
|
|
ObjectLayerPairFilter objectLayerPairFilter,
|
|
Span<BodyPair> results,
|
|
out uint totalHits
|
|
)
|
|
{
|
|
fixed (uint* activeBodies_fixed = activeBodies)
|
|
fixed (BodyPair* results_fixed = results)
|
|
{
|
|
totalHits = Jolt.PInvoke.BroadPhase_FindCollidingPairs(
|
|
this,
|
|
activeBodies_fixed,
|
|
(int)activeBodies.Length,
|
|
speculativeContactDistance,
|
|
objectVsBroadPhaseLayerFilter,
|
|
objectLayerPairFilter,
|
|
results_fixed,
|
|
(uint)results.Length
|
|
);
|
|
return totalHits < (uint)results.Length ? totalHits : (uint)results.Length;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Same as BroadPhaseQuery::CastAABox but can be implemented in a way to take no broad phase locks.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhase.h#L96">Jolt/Physics/Collision/BroadPhase/BroadPhase.h:96</see>
|
|
/// <br/>
|
|
/// <c>virtual void CastAABoxNoLock(const AABoxCast &inBox, CastShapeBodyCollector &ioCollector, const BroadPhaseLayerFilter &inBroadPhaseLayerFilter, const ObjectLayerFilter &inObjectLayerFilter) const = 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Collects every hit into castaaboxnolockresults, which you allocate and size. Returns how many were
|
|
/// written; totalHits is how many the query found, so a larger span is needed when it exceeds the span's
|
|
/// length.
|
|
/// </para>
|
|
/// <para>
|
|
/// Pass default for broadPhaseLayerFilter to filter nothing out.
|
|
/// </para>
|
|
/// <para>
|
|
/// Pass default for objectLayerFilter to filter nothing out.
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe uint CastAABoxNoLock(
|
|
in AABoxCast box,
|
|
Span<BroadPhaseCastResult> results,
|
|
out uint totalHits,
|
|
BroadPhaseLayerFilter broadPhaseLayerFilter,
|
|
ObjectLayerFilter objectLayerFilter
|
|
)
|
|
{
|
|
fixed (BroadPhaseCastResult* results_fixed = results)
|
|
{
|
|
totalHits = Jolt.PInvoke.BroadPhase_CastAABoxNoLock(
|
|
this,
|
|
in box,
|
|
results_fixed,
|
|
(uint)results.Length,
|
|
broadPhaseLayerFilter,
|
|
objectLayerFilter
|
|
);
|
|
return totalHits < (uint)results.Length ? totalHits : (uint)results.Length;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Same as BroadPhaseQuery::CastAABox but can be implemented in a way to take no broad phase locks.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhase.h#L96">Jolt/Physics/Collision/BroadPhase/BroadPhase.h:96</see>
|
|
/// <br/>
|
|
/// <c>virtual void CastAABoxNoLock(const AABoxCast &inBox, CastShapeBodyCollector &ioCollector, const BroadPhaseLayerFilter &inBroadPhaseLayerFilter, const ObjectLayerFilter &inObjectLayerFilter) const = 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keeps only the closest (or deepest) hit. Returns false, and writes a native default-constructed result
|
|
/// (e.g. RayCastResult's fraction is 1 + epsilon), when nothing was hit.
|
|
/// </para>
|
|
/// <para>
|
|
/// Pass default for broadPhaseLayerFilter to filter nothing out.
|
|
/// </para>
|
|
/// <para>
|
|
/// Pass default for objectLayerFilter to filter nothing out.
|
|
/// </para>
|
|
/// </remarks>
|
|
public bool CastAABoxNoLockClosest(
|
|
in AABoxCast box,
|
|
out BroadPhaseCastResult result,
|
|
BroadPhaseLayerFilter broadPhaseLayerFilter,
|
|
ObjectLayerFilter objectLayerFilter
|
|
) =>
|
|
Jolt.PInvoke.BroadPhase_CastAABoxNoLockClosest(
|
|
this,
|
|
in box,
|
|
out result,
|
|
broadPhaseLayerFilter,
|
|
objectLayerFilter
|
|
) != 0;
|
|
|
|
public static implicit operator BroadPhaseQuery(BroadPhase value) =>
|
|
Unsafe.BitCast<BroadPhase, BroadPhaseQuery>(value);
|
|
|
|
/// <inheritdoc cref="BroadPhaseQuery.CastRay(in RayCast, Span{BroadPhaseCastResult}, out uint, BroadPhaseLayerFilter, ObjectLayerFilter)"/>
|
|
public unsafe uint CastRay(
|
|
in RayCast ray,
|
|
Span<BroadPhaseCastResult> results,
|
|
out uint totalHits,
|
|
BroadPhaseLayerFilter broadPhaseLayerFilter = default,
|
|
ObjectLayerFilter objectLayerFilter = default
|
|
) => ((BroadPhaseQuery)this).CastRay(in ray, results, out totalHits, broadPhaseLayerFilter, objectLayerFilter);
|
|
|
|
/// <inheritdoc cref="BroadPhaseQuery.CastRayClosest(in RayCast, out BroadPhaseCastResult, BroadPhaseLayerFilter, ObjectLayerFilter)"/>
|
|
public bool CastRayClosest(
|
|
in RayCast ray,
|
|
out BroadPhaseCastResult result,
|
|
BroadPhaseLayerFilter broadPhaseLayerFilter = default,
|
|
ObjectLayerFilter objectLayerFilter = default
|
|
) => ((BroadPhaseQuery)this).CastRayClosest(in ray, out result, broadPhaseLayerFilter, objectLayerFilter);
|
|
|
|
/// <inheritdoc cref="BroadPhaseQuery.CollideAABox(in AABox, Span{uint}, out uint, BroadPhaseLayerFilter, ObjectLayerFilter)"/>
|
|
public unsafe uint CollideAABox(
|
|
in AABox box,
|
|
Span<uint> results,
|
|
out uint totalHits,
|
|
BroadPhaseLayerFilter broadPhaseLayerFilter = default,
|
|
ObjectLayerFilter objectLayerFilter = default
|
|
) =>
|
|
((BroadPhaseQuery)this).CollideAABox(
|
|
in box,
|
|
results,
|
|
out totalHits,
|
|
broadPhaseLayerFilter,
|
|
objectLayerFilter
|
|
);
|
|
|
|
/// <inheritdoc cref="BroadPhaseQuery.CollideSphere(float3, float, Span{uint}, out uint, BroadPhaseLayerFilter, ObjectLayerFilter)"/>
|
|
public unsafe uint CollideSphere(
|
|
float3 center,
|
|
float radius,
|
|
Span<uint> results,
|
|
out uint totalHits,
|
|
BroadPhaseLayerFilter broadPhaseLayerFilter = default,
|
|
ObjectLayerFilter objectLayerFilter = default
|
|
) =>
|
|
((BroadPhaseQuery)this).CollideSphere(
|
|
center,
|
|
radius,
|
|
results,
|
|
out totalHits,
|
|
broadPhaseLayerFilter,
|
|
objectLayerFilter
|
|
);
|
|
|
|
/// <inheritdoc cref="BroadPhaseQuery.CollidePoint(float3, Span{uint}, out uint, BroadPhaseLayerFilter, ObjectLayerFilter)"/>
|
|
public unsafe uint CollidePoint(
|
|
float3 point,
|
|
Span<uint> results,
|
|
out uint totalHits,
|
|
BroadPhaseLayerFilter broadPhaseLayerFilter = default,
|
|
ObjectLayerFilter objectLayerFilter = default
|
|
) =>
|
|
((BroadPhaseQuery)this).CollidePoint(
|
|
point,
|
|
results,
|
|
out totalHits,
|
|
broadPhaseLayerFilter,
|
|
objectLayerFilter
|
|
);
|
|
|
|
/// <inheritdoc cref="BroadPhaseQuery.CollideOrientedBox(OrientedBox, Span{uint}, out uint, BroadPhaseLayerFilter, ObjectLayerFilter)"/>
|
|
public unsafe uint CollideOrientedBox(
|
|
OrientedBox box,
|
|
Span<uint> results,
|
|
out uint totalHits,
|
|
BroadPhaseLayerFilter broadPhaseLayerFilter = default,
|
|
ObjectLayerFilter objectLayerFilter = default
|
|
) =>
|
|
((BroadPhaseQuery)this).CollideOrientedBox(
|
|
box,
|
|
results,
|
|
out totalHits,
|
|
broadPhaseLayerFilter,
|
|
objectLayerFilter
|
|
);
|
|
|
|
/// <inheritdoc cref="BroadPhaseQuery.CastAABox(in AABoxCast, Span{BroadPhaseCastResult}, out uint, BroadPhaseLayerFilter, ObjectLayerFilter)"/>
|
|
public unsafe uint CastAABox(
|
|
in AABoxCast box,
|
|
Span<BroadPhaseCastResult> results,
|
|
out uint totalHits,
|
|
BroadPhaseLayerFilter broadPhaseLayerFilter = default,
|
|
ObjectLayerFilter objectLayerFilter = default
|
|
) =>
|
|
((BroadPhaseQuery)this).CastAABox(in box, results, out totalHits, broadPhaseLayerFilter, objectLayerFilter);
|
|
|
|
/// <inheritdoc cref="BroadPhaseQuery.CastAABoxClosest(in AABoxCast, out BroadPhaseCastResult, BroadPhaseLayerFilter, ObjectLayerFilter)"/>
|
|
public bool CastAABoxClosest(
|
|
in AABoxCast box,
|
|
out BroadPhaseCastResult result,
|
|
BroadPhaseLayerFilter broadPhaseLayerFilter = default,
|
|
ObjectLayerFilter objectLayerFilter = default
|
|
) => ((BroadPhaseQuery)this).CastAABoxClosest(in box, out result, broadPhaseLayerFilter, objectLayerFilter);
|
|
|
|
/// <inheritdoc cref="BroadPhaseQuery.GetBounds()"/>
|
|
public AABox GetBounds() => ((BroadPhaseQuery)this).GetBounds();
|
|
}
|
|
}
|