brutal/brutal.jolt/Brutal.Jolt/Generated/PInvoke/SoftBodyShape.gen.cs
2026-10-15 14:12:02 +13:00

198 lines
12 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/SoftBody/SoftBodyShape.h#L21">Jolt/Physics/SoftBody/SoftBodyShape.h:21</see>
/// <br/>
/// <c>SoftBodyShape()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Constructor
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_Create")]
public static partial SoftBodyShape SoftBodyShape_Create();
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyShape.h#L24">Jolt/Physics/SoftBody/SoftBodyShape.h:24</see>
/// <br/>
/// <c>uint GetSubShapeIDBits() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Determine amount of bits needed to encode sub shape id
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetSubShapeIDBits")]
public static partial uint SoftBodyShape_GetSubShapeIDBits(SoftBodyShape self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyShape.h#L27">Jolt/Physics/SoftBody/SoftBodyShape.h:27</see>
/// <br/>
/// <c>uint32 GetFaceIndex(const SubShapeID &amp;inSubShapeID) const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Convert a sub shape ID back to a face index
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetFaceIndex")]
public static partial uint SoftBodyShape_GetFaceIndex(SoftBodyShape self, uint subShapeID);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyShape.h#L30">Jolt/Physics/SoftBody/SoftBodyShape.h:30</see>
/// <br/>
/// <c>virtual bool MustBeStatic() const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See Shape
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_MustBeStatic")]
public static partial Brutal.Bool8 SoftBodyShape_MustBeStatic(SoftBodyShape self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyShape.h#L31">Jolt/Physics/SoftBody/SoftBodyShape.h:31</see>
/// <br/>
/// <c>virtual Vec3 GetCenterOfMass() const override</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetCenterOfMass")]
public static partial float3 SoftBodyShape_GetCenterOfMass(SoftBodyShape self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyShape.h#L33">Jolt/Physics/SoftBody/SoftBodyShape.h:33</see>
/// <br/>
/// <c>virtual uint GetSubShapeIDBitsRecursive() const override</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetSubShapeIDBitsRecursive")]
public static partial uint SoftBodyShape_GetSubShapeIDBitsRecursive(SoftBodyShape self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyShape.h#L34">Jolt/Physics/SoftBody/SoftBodyShape.h:34</see>
/// <br/>
/// <c>virtual float GetInnerRadius() const override</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetInnerRadius")]
public static partial float SoftBodyShape_GetInnerRadius(SoftBodyShape self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyShape.h#L36">Jolt/Physics/SoftBody/SoftBodyShape.h:36</see>
/// <br/>
/// <c>virtual const PhysicsMaterial * GetMaterial(const SubShapeID &amp;inSubShapeID) const override</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetMaterial")]
public static partial PhysicsMaterial SoftBodyShape_GetMaterial(SoftBodyShape self, uint subShapeID);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyShape.h#L37">Jolt/Physics/SoftBody/SoftBodyShape.h:37</see>
/// <br/>
/// <c>virtual Vec3 GetSurfaceNormal(const SubShapeID &amp;inSubShapeID, Vec3Arg inLocalSurfacePosition) const override</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetSurfaceNormal")]
public static partial float3 SoftBodyShape_GetSurfaceNormal(SoftBodyShape self, uint subShapeID, float3 localSurfacePosition);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyShape.h#L39">Jolt/Physics/SoftBody/SoftBodyShape.h:39</see>
/// <br/>
/// <c>virtual void GetSubmergedVolume(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const Plane &amp;inSurface, float &amp;outTotalVolume, float &amp;outSubmergedVolume, Vec3 &amp;outCenterOfBuoyancy</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetSubmergedVolume")]
public static partial void SoftBodyShape_GetSubmergedVolume(SoftBodyShape 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/SoftBody/SoftBodyShape.h#L45">Jolt/Physics/SoftBody/SoftBodyShape.h:45</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 = "SoftBodyShape_Draw")]
public static partial void SoftBodyShape_Draw(SoftBodyShape 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/SoftBody/SoftBodyShape.h#L50">Jolt/Physics/SoftBody/SoftBodyShape.h:50</see>
/// <br/>
/// <c>virtual void CollideSoftBodyVertices(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const CollideSoftBodyVertexIterator &amp;inVertices, uint inNumVertices, int inCollidingShapeIndex) const override</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_CollideSoftBodyVertices")]
public static partial void SoftBodyShape_CollideSoftBodyVertices(SoftBodyShape 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/SoftBody/SoftBodyShape.h#L51">Jolt/Physics/SoftBody/SoftBodyShape.h:51</see>
/// <br/>
/// <c>virtual void GetTrianglesStart(GetTrianglesContext &amp;ioContext, const AABox &amp;inBox, Vec3Arg inPositionCOM, QuatArg inRotation, Vec3Arg inScale) const override</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetTrianglesStart")]
public static partial void SoftBodyShape_GetTrianglesStart(SoftBodyShape 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/SoftBody/SoftBodyShape.h#L54">Jolt/Physics/SoftBody/SoftBodyShape.h:54</see>
/// <br/>
/// <c>virtual float GetVolume() const override</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetVolume")]
public static partial float SoftBodyShape_GetVolume(SoftBodyShape self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyShape.h#L57">Jolt/Physics/SoftBody/SoftBodyShape.h:57</see>
/// <br/>
/// <c>static void sRegister()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Register shape functions with the registry
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_sRegister")]
public static partial void SoftBodyShape_sRegister();
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_AddRef")]
public static partial void SoftBodyShape_AddRef(SoftBodyShape self);
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_Release")]
public static partial void SoftBodyShape_Release(SoftBodyShape self);
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetRefCount")]
public static partial uint SoftBodyShape_GetRefCount(SoftBodyShape self);
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_AsShape")]
public static partial Shape SoftBodyShape_AsShape(SoftBodyShape self);
}
}
}