mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
239
Brutal.Jolt/Generated/PInvoke/BroadPhaseQuery.gen.cs
Normal file
239
Brutal.Jolt/Generated/PInvoke/BroadPhaseQuery.gen.cs
Normal file
|
|
@ -0,0 +1,239 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
public static partial class Jolt
|
||||
{
|
||||
public static unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Cast a ray and add any hits to ioCollector
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h#L35">Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h:35</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void CastRay(const RayCast &inRay, RayCastBodyCollector &ioCollector, const BroadPhaseLayerFilter &inBroadPhaseLayerFilter = { }, const ObjectLayerFilter &inObjectLayerFilter = { }) const = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Collects every hit into castrayresults, 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>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BroadPhaseQuery_CastRay")]
|
||||
public static partial uint BroadPhaseQuery_CastRay(
|
||||
BroadPhaseQuery self,
|
||||
in RayCast ray,
|
||||
BroadPhaseCastResult* buffer,
|
||||
uint capacity,
|
||||
BroadPhaseLayerFilter broadPhaseLayerFilter,
|
||||
ObjectLayerFilter objectLayerFilter
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Cast a ray and add any hits to ioCollector
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h#L35">Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h:35</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void CastRay(const RayCast &inRay, RayCastBodyCollector &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>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BroadPhaseQuery_CastRayClosest")]
|
||||
public static partial uint BroadPhaseQuery_CastRayClosest(
|
||||
BroadPhaseQuery self,
|
||||
in RayCast ray,
|
||||
out BroadPhaseCastResult result,
|
||||
BroadPhaseLayerFilter broadPhaseLayerFilter,
|
||||
ObjectLayerFilter objectLayerFilter
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Get bodies intersecting with inBox and any hits to ioCollector
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h#L38">Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h:38</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void CollideAABox(const AABox &inBox, CollideShapeBodyCollector &ioCollector, const BroadPhaseLayerFilter &inBroadPhaseLayerFilter = { }, const ObjectLayerFilter &inObjectLayerFilter = { }) const = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Collects every hit into collideaaboxresults, 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>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BroadPhaseQuery_CollideAABox")]
|
||||
public static partial uint BroadPhaseQuery_CollideAABox(
|
||||
BroadPhaseQuery self,
|
||||
in AABox box,
|
||||
uint* buffer,
|
||||
uint capacity,
|
||||
BroadPhaseLayerFilter broadPhaseLayerFilter,
|
||||
ObjectLayerFilter objectLayerFilter
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Get bodies intersecting with a sphere and any hits to ioCollector
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h#L41">Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h:41</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void CollideSphere(Vec3Arg inCenter, float inRadius, CollideShapeBodyCollector &ioCollector, const BroadPhaseLayerFilter &inBroadPhaseLayerFilter = { }, const ObjectLayerFilter &inObjectLayerFilter = { }) const = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Collects every hit into collidesphereresults, 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>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BroadPhaseQuery_CollideSphere")]
|
||||
public static partial uint BroadPhaseQuery_CollideSphere(
|
||||
BroadPhaseQuery self,
|
||||
float3 center,
|
||||
float radius,
|
||||
uint* buffer,
|
||||
uint capacity,
|
||||
BroadPhaseLayerFilter broadPhaseLayerFilter,
|
||||
ObjectLayerFilter objectLayerFilter
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Get bodies intersecting with a point and any hits to ioCollector
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h#L44">Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h:44</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void CollidePoint(Vec3Arg inPoint, CollideShapeBodyCollector &ioCollector, const BroadPhaseLayerFilter &inBroadPhaseLayerFilter = { }, const ObjectLayerFilter &inObjectLayerFilter = { }) const = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Collects every hit into collidepointresults, 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>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BroadPhaseQuery_CollidePoint")]
|
||||
public static partial uint BroadPhaseQuery_CollidePoint(
|
||||
BroadPhaseQuery self,
|
||||
float3 point,
|
||||
uint* buffer,
|
||||
uint capacity,
|
||||
BroadPhaseLayerFilter broadPhaseLayerFilter,
|
||||
ObjectLayerFilter objectLayerFilter
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Get bodies intersecting with an oriented box and any hits to ioCollector
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h#L47">Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h:47</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void CollideOrientedBox(const OrientedBox &inBox, CollideShapeBodyCollector &ioCollector, const BroadPhaseLayerFilter &inBroadPhaseLayerFilter = { }, const ObjectLayerFilter &inObjectLayerFilter = { }) const = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Collects every hit into collideorientedboxresults, 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>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BroadPhaseQuery_CollideOrientedBox")]
|
||||
public static partial uint BroadPhaseQuery_CollideOrientedBox(
|
||||
BroadPhaseQuery self,
|
||||
OrientedBox box,
|
||||
uint* buffer,
|
||||
uint capacity,
|
||||
BroadPhaseLayerFilter broadPhaseLayerFilter,
|
||||
ObjectLayerFilter objectLayerFilter
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Cast a box and add any hits to ioCollector
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h#L50">Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h:50</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void CastAABox(const AABoxCast &inBox, CastShapeBodyCollector &ioCollector, const BroadPhaseLayerFilter &inBroadPhaseLayerFilter = { }, const ObjectLayerFilter &inObjectLayerFilter = { }) const = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Collects every hit into castaaboxresults, 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>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BroadPhaseQuery_CastAABox")]
|
||||
public static partial uint BroadPhaseQuery_CastAABox(
|
||||
BroadPhaseQuery self,
|
||||
in AABoxCast box,
|
||||
BroadPhaseCastResult* buffer,
|
||||
uint capacity,
|
||||
BroadPhaseLayerFilter broadPhaseLayerFilter,
|
||||
ObjectLayerFilter objectLayerFilter
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Cast a box and add any hits to ioCollector
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h#L50">Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h:50</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void CastAABox(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>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BroadPhaseQuery_CastAABoxClosest")]
|
||||
public static partial uint BroadPhaseQuery_CastAABoxClosest(
|
||||
BroadPhaseQuery self,
|
||||
in AABoxCast box,
|
||||
out BroadPhaseCastResult result,
|
||||
BroadPhaseLayerFilter broadPhaseLayerFilter,
|
||||
ObjectLayerFilter objectLayerFilter
|
||||
);
|
||||
|
||||
/// <inheritdoc cref="BroadPhaseQuery.GetBounds()"/>
|
||||
[LibraryImport("jolt", EntryPoint = "BroadPhaseQuery_GetBounds")]
|
||||
public static partial AABox BroadPhaseQuery_GetBounds(BroadPhaseQuery self);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue