//
// 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
{
///
///
/// C++:
/// Jolt/Physics/SoftBody/SoftBodyShape.h:21
///
/// SoftBodyShape()
///
///
///
///
/// Constructor
///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_Create")]
public static partial SoftBodyShape SoftBodyShape_Create();
///
///
/// C++:
/// Jolt/Physics/SoftBody/SoftBodyShape.h:24
///
/// uint GetSubShapeIDBits() const
///
///
///
///
/// Determine amount of bits needed to encode sub shape id
///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetSubShapeIDBits")]
public static partial uint SoftBodyShape_GetSubShapeIDBits(SoftBodyShape self);
///
///
/// C++:
/// Jolt/Physics/SoftBody/SoftBodyShape.h:27
///
/// uint32 GetFaceIndex(const SubShapeID &inSubShapeID) const
///
///
///
///
/// Convert a sub shape ID back to a face index
///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetFaceIndex")]
public static partial uint SoftBodyShape_GetFaceIndex(SoftBodyShape self, uint subShapeID);
///
///
/// C++:
/// Jolt/Physics/SoftBody/SoftBodyShape.h:30
///
/// virtual bool MustBeStatic() const override
///
///
///
///
/// See Shape
///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_MustBeStatic")]
public static partial Brutal.Bool8 SoftBodyShape_MustBeStatic(SoftBodyShape self);
///
///
/// C++:
/// Jolt/Physics/SoftBody/SoftBodyShape.h:31
///
/// virtual Vec3 GetCenterOfMass() const override
///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetCenterOfMass")]
public static partial float3 SoftBodyShape_GetCenterOfMass(SoftBodyShape self);
///
///
/// C++:
/// Jolt/Physics/SoftBody/SoftBodyShape.h:33
///
/// virtual uint GetSubShapeIDBitsRecursive() const override
///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetSubShapeIDBitsRecursive")]
public static partial uint SoftBodyShape_GetSubShapeIDBitsRecursive(SoftBodyShape self);
///
///
/// C++:
/// Jolt/Physics/SoftBody/SoftBodyShape.h:34
///
/// virtual float GetInnerRadius() const override
///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetInnerRadius")]
public static partial float SoftBodyShape_GetInnerRadius(SoftBodyShape self);
///
///
/// C++:
/// Jolt/Physics/SoftBody/SoftBodyShape.h:36
///
/// virtual const PhysicsMaterial * GetMaterial(const SubShapeID &inSubShapeID) const override
///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetMaterial")]
public static partial PhysicsMaterial SoftBodyShape_GetMaterial(SoftBodyShape self, uint subShapeID);
///
///
/// C++:
/// Jolt/Physics/SoftBody/SoftBodyShape.h:37
///
/// virtual Vec3 GetSurfaceNormal(const SubShapeID &inSubShapeID, Vec3Arg inLocalSurfacePosition) const override
///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetSurfaceNormal")]
public static partial float3 SoftBodyShape_GetSurfaceNormal(SoftBodyShape self, uint subShapeID, float3 localSurfacePosition);
///
///
/// C++:
/// Jolt/Physics/SoftBody/SoftBodyShape.h:39
///
/// virtual void GetSubmergedVolume(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const Plane &inSurface, float &outTotalVolume, float &outSubmergedVolume, Vec3 &outCenterOfBuoyancy
///
///
[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);
///
///
/// C++:
/// Jolt/Physics/SoftBody/SoftBodyShape.h:45
///
/// virtual void Draw(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale, ColorArg inColor, bool inUseMaterialColors, bool inDrawWireframe) const override
///
///
[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);
///
///
/// C++:
/// Jolt/Physics/SoftBody/SoftBodyShape.h:50
///
/// virtual void CollideSoftBodyVertices(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const CollideSoftBodyVertexIterator &inVertices, uint inNumVertices, int inCollidingShapeIndex) const override
///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_CollideSoftBodyVertices")]
public static partial void SoftBodyShape_CollideSoftBodyVertices(SoftBodyShape self, float4x4 centerOfMassTransform, float3 scale, CollideSoftBodyVertexIterator vertices, uint numVertices, int collidingShapeIndex);
///
///
/// C++:
/// Jolt/Physics/SoftBody/SoftBodyShape.h:51
///
/// virtual void GetTrianglesStart(GetTrianglesContext &ioContext, const AABox &inBox, Vec3Arg inPositionCOM, QuatArg inRotation, Vec3Arg inScale) const override
///
///
[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);
///
///
/// C++:
/// Jolt/Physics/SoftBody/SoftBodyShape.h:54
///
/// virtual float GetVolume() const override
///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyShape_GetVolume")]
public static partial float SoftBodyShape_GetVolume(SoftBodyShape self);
///
///
/// C++:
/// Jolt/Physics/SoftBody/SoftBodyShape.h:57
///
/// static void sRegister()
///
///
///
///
/// Register shape functions with the registry
///
///
[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);
}
}
}