mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
178 lines
11 KiB
C#
178 lines
11 KiB
C#
// <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>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L38">Jolt/Physics/Collision/Shape/EmptyShape.h:38</see>
|
|
/// <br/>
|
|
/// <c>EmptyShape()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Constructor
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_Create")]
|
|
public static partial EmptyShape EmptyShape_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L39">Jolt/Physics/Collision/Shape/EmptyShape.h:39</see>
|
|
/// <br/>
|
|
/// <c>explicit EmptyShape(Vec3Arg inCenterOfMass)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_Create_2")]
|
|
public static partial EmptyShape EmptyShape_Create_2(float3 centerOfMass);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L43">Jolt/Physics/Collision/Shape/EmptyShape.h:43</see>
|
|
/// <br/>
|
|
/// <c>Vec3 GetCenterOfMass() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See: Shape
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_GetCenterOfMass")]
|
|
public static partial float3 EmptyShape_GetCenterOfMass(EmptyShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L45">Jolt/Physics/Collision/Shape/EmptyShape.h:45</see>
|
|
/// <br/>
|
|
/// <c>uint GetSubShapeIDBitsRecursive() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_GetSubShapeIDBitsRecursive")]
|
|
public static partial uint EmptyShape_GetSubShapeIDBitsRecursive(EmptyShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L46">Jolt/Physics/Collision/Shape/EmptyShape.h:46</see>
|
|
/// <br/>
|
|
/// <c>float GetInnerRadius() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_GetInnerRadius")]
|
|
public static partial float EmptyShape_GetInnerRadius(EmptyShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L48">Jolt/Physics/Collision/Shape/EmptyShape.h:48</see>
|
|
/// <br/>
|
|
/// <c>const PhysicsMaterial * GetMaterial(const SubShapeID &inSubShapeID) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_GetMaterial")]
|
|
public static partial PhysicsMaterial EmptyShape_GetMaterial(EmptyShape self, uint subShapeID);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L49">Jolt/Physics/Collision/Shape/EmptyShape.h:49</see>
|
|
/// <br/>
|
|
/// <c>virtual Vec3 GetSurfaceNormal(const SubShapeID &inSubShapeID, Vec3Arg inLocalSurfacePosition) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_GetSurfaceNormal")]
|
|
public static partial float3 EmptyShape_GetSurfaceNormal(EmptyShape self, uint subShapeID, float3 localSurfacePosition);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L50">Jolt/Physics/Collision/Shape/EmptyShape.h:50</see>
|
|
/// <br/>
|
|
/// <c>virtual void GetSubmergedVolume(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const Plane &inSurface, float &outTotalVolume, float &outSubmergedVolume, Vec3 &outCenterOfBuoyancy</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_GetSubmergedVolume")]
|
|
public static partial void EmptyShape_GetSubmergedVolume(EmptyShape self, float4x4 centerOfMassTransform, float3 scale, Plane surface, out float totalVolume, out float submergedVolume, out float3 centerOfBuoyancy, float3 baseOffset);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L56">Jolt/Physics/Collision/Shape/EmptyShape.h:56</see>
|
|
/// <br/>
|
|
/// <c>virtual void Draw(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale, ColorArg inColor, bool inUseMaterialColors, bool inDrawWireframe) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_Draw")]
|
|
public static partial void EmptyShape_Draw(EmptyShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale, uint color, Brutal.Bool8 useMaterialColors, Brutal.Bool8 drawWireframe);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L61">Jolt/Physics/Collision/Shape/EmptyShape.h:61</see>
|
|
/// <br/>
|
|
/// <c>virtual void CollideSoftBodyVertices(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const CollideSoftBodyVertexIterator &inVertices, uint inNumVertices, int inCollidingShapeIndex) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_CollideSoftBodyVertices")]
|
|
public static partial void EmptyShape_CollideSoftBodyVertices(EmptyShape self, float4x4 centerOfMassTransform, float3 scale, CollideSoftBodyVertexIterator vertices, uint numVertices, int collidingShapeIndex);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L62">Jolt/Physics/Collision/Shape/EmptyShape.h:62</see>
|
|
/// <br/>
|
|
/// <c>virtual void GetTrianglesStart(GetTrianglesContext &ioContext, const AABox &inBox, Vec3Arg inPositionCOM, QuatArg inRotation, Vec3Arg inScale) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_GetTrianglesStart")]
|
|
public static partial void EmptyShape_GetTrianglesStart(EmptyShape self, ref Shape.GetTrianglesContext context, AABox box, float3 positionCOM, floatQuat rotation, float3 scale);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L65">Jolt/Physics/Collision/Shape/EmptyShape.h:65</see>
|
|
/// <br/>
|
|
/// <c>float GetVolume() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_GetVolume")]
|
|
public static partial float EmptyShape_GetVolume(EmptyShape self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L66">Jolt/Physics/Collision/Shape/EmptyShape.h:66</see>
|
|
/// <br/>
|
|
/// <c>bool IsValidScale(Vec3Arg inScale) const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_IsValidScale")]
|
|
public static partial Brutal.Bool8 EmptyShape_IsValidScale(EmptyShape self, float3 scale);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L69">Jolt/Physics/Collision/Shape/EmptyShape.h:69</see>
|
|
/// <br/>
|
|
/// <c>static void sRegister()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Register shape functions with the registry
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_sRegister")]
|
|
public static partial void EmptyShape_sRegister();
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_AddRef")]
|
|
public static partial void EmptyShape_AddRef(EmptyShape self);
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_Release")]
|
|
public static partial void EmptyShape_Release(EmptyShape self);
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_GetRefCount")]
|
|
public static partial uint EmptyShape_GetRefCount(EmptyShape self);
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShape_AsShape")]
|
|
public static partial Shape EmptyShape_AsShape(EmptyShape self);
|
|
}
|
|
}
|
|
}
|