//
// 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/Collision/Shape/OffsetCenterOfMassShape.h:41
///
/// OffsetCenterOfMassShape()
///
///
///
///
/// Constructor
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_Create")]
public static partial OffsetCenterOfMassShape OffsetCenterOfMassShape_Create();
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:43
///
/// OffsetCenterOfMassShape(const Shape *inShape, Vec3Arg inOffset)
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_Create_2")]
public static partial OffsetCenterOfMassShape OffsetCenterOfMassShape_Create_2(Shape shape, float3 offset);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:46
///
/// Vec3 GetOffset() const
///
///
///
///
/// Access the offset that is applied to the center of mass
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_GetOffset")]
public static partial float3 OffsetCenterOfMassShape_GetOffset(OffsetCenterOfMassShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:49
///
/// virtual Vec3 GetCenterOfMass() const override
///
///
///
///
/// See Shape::GetCenterOfMass
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_GetCenterOfMass")]
public static partial float3 OffsetCenterOfMassShape_GetCenterOfMass(OffsetCenterOfMassShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:59
///
/// virtual float GetInnerRadius() const override
///
///
///
///
/// See Shape::GetInnerRadius
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_GetInnerRadius")]
public static partial float OffsetCenterOfMassShape_GetInnerRadius(OffsetCenterOfMassShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:73
///
/// virtual Vec3 GetSurfaceNormal(const SubShapeID &inSubShapeID, Vec3Arg inLocalSurfacePosition) const override
///
///
///
///
/// See Shape::GetSurfaceNormal
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_GetSurfaceNormal")]
public static partial float3 OffsetCenterOfMassShape_GetSurfaceNormal(OffsetCenterOfMassShape self, uint subShapeID, float3 localSurfacePosition);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:79
///
/// virtual void GetSubmergedVolume(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const Plane &inSurface, float &outTotalVolume, float &outSubmergedVolume, Vec3 &outCenterOfBuoyancy JPH_IF_DEBUG_RENDERER(, RVec3Arg inBaseOffset)) const override
///
///
///
///
/// See Shape::GetSubmergedVolume
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_GetSubmergedVolume")]
public static partial void OffsetCenterOfMassShape_GetSubmergedVolume(OffsetCenterOfMassShape self, float4x4 centerOfMassTransform, float3 scale, Plane surface, out float totalVolume, out float submergedVolume, out float3 centerOfBuoyancy, float3 baseOffset);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:83
///
/// virtual void Draw(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale, ColorArg inColor, bool inUseMaterialColors, bool inDrawWireframe) const override
///
///
///
///
/// See Shape::Draw
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_Draw")]
public static partial void OffsetCenterOfMassShape_Draw(OffsetCenterOfMassShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale, uint color, Brutal.Bool8 useMaterialColors, Brutal.Bool8 drawWireframe);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:86
///
/// virtual void DrawGetSupportFunction(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale, ColorArg inColor, bool inDrawSupportDirection) const override
///
///
///
///
/// See Shape::DrawGetSupportFunction
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_DrawGetSupportFunction")]
public static partial void OffsetCenterOfMassShape_DrawGetSupportFunction(OffsetCenterOfMassShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale, uint color, Brutal.Bool8 drawSupportDirection);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:89
///
/// virtual void DrawGetSupportingFace(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale) const override
///
///
///
///
/// See Shape::DrawGetSupportingFace
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_DrawGetSupportingFace")]
public static partial void OffsetCenterOfMassShape_DrawGetSupportingFace(OffsetCenterOfMassShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:100
///
/// virtual void CollideSoftBodyVertices(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const CollideSoftBodyVertexIterator &inVertices, uint inNumVertices, int inCollidingShapeIndex) const override
///
///
///
///
/// See: Shape::CollideSoftBodyVertices
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_CollideSoftBodyVertices")]
public static partial void OffsetCenterOfMassShape_CollideSoftBodyVertices(OffsetCenterOfMassShape self, float4x4 centerOfMassTransform, float3 scale, CollideSoftBodyVertexIterator vertices, uint numVertices, int collidingShapeIndex);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:109
///
/// virtual void GetTrianglesStart(GetTrianglesContext &ioContext, const AABox &inBox, Vec3Arg inPositionCOM, QuatArg inRotation, Vec3Arg inScale) const override
///
///
///
///
/// See Shape::GetTrianglesStart
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_GetTrianglesStart")]
public static partial void OffsetCenterOfMassShape_GetTrianglesStart(OffsetCenterOfMassShape self, ref Shape.GetTrianglesContext context, AABox box, float3 positionCOM, floatQuat rotation, float3 scale);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:115
///
/// virtual void SaveBinaryState(StreamOut &inStream) const override
///
///
///
///
/// See Shape
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_SaveBinaryState")]
public static partial void OffsetCenterOfMassShape_SaveBinaryState(OffsetCenterOfMassShape self, StreamOut stream);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:121
///
/// virtual float GetVolume() const override
///
///
///
///
/// See Shape::GetVolume
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_GetVolume")]
public static partial float OffsetCenterOfMassShape_GetVolume(OffsetCenterOfMassShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:124
///
/// static void sRegister()
///
///
///
///
/// Register shape functions with the registry
///
///
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_sRegister")]
public static partial void OffsetCenterOfMassShape_sRegister();
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_AddRef")]
public static partial void OffsetCenterOfMassShape_AddRef(OffsetCenterOfMassShape self);
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_Release")]
public static partial void OffsetCenterOfMassShape_Release(OffsetCenterOfMassShape self);
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_GetRefCount")]
public static partial uint OffsetCenterOfMassShape_GetRefCount(OffsetCenterOfMassShape self);
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_AsDecoratedShape")]
public static partial DecoratedShape OffsetCenterOfMassShape_AsDecoratedShape(OffsetCenterOfMassShape self);
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShape_AsShape")]
public static partial Shape OffsetCenterOfMassShape_AsShape(OffsetCenterOfMassShape self);
}
}
}