// // 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/EmptyShape.h:38 ///
/// EmptyShape() ///
///
/// /// /// Constructor /// /// [LibraryImport("jolt", EntryPoint = "EmptyShape_Create")] public static partial EmptyShape EmptyShape_Create(); /// /// /// C++: /// Jolt/Physics/Collision/Shape/EmptyShape.h:39 ///
/// explicit EmptyShape(Vec3Arg inCenterOfMass) ///
///
[LibraryImport("jolt", EntryPoint = "EmptyShape_Create_2")] public static partial EmptyShape EmptyShape_Create_2(float3 centerOfMass); /// /// /// C++: /// Jolt/Physics/Collision/Shape/EmptyShape.h:43 ///
/// Vec3 GetCenterOfMass() const override ///
///
/// /// /// See: Shape /// /// [LibraryImport("jolt", EntryPoint = "EmptyShape_GetCenterOfMass")] public static partial float3 EmptyShape_GetCenterOfMass(EmptyShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/EmptyShape.h:45 ///
/// uint GetSubShapeIDBitsRecursive() const override ///
///
[LibraryImport("jolt", EntryPoint = "EmptyShape_GetSubShapeIDBitsRecursive")] public static partial uint EmptyShape_GetSubShapeIDBitsRecursive(EmptyShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/EmptyShape.h:46 ///
/// float GetInnerRadius() const override ///
///
[LibraryImport("jolt", EntryPoint = "EmptyShape_GetInnerRadius")] public static partial float EmptyShape_GetInnerRadius(EmptyShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/EmptyShape.h:48 ///
/// const PhysicsMaterial * GetMaterial(const SubShapeID &inSubShapeID) const override ///
///
[LibraryImport("jolt", EntryPoint = "EmptyShape_GetMaterial")] public static partial PhysicsMaterial EmptyShape_GetMaterial(EmptyShape self, uint subShapeID); /// /// /// C++: /// Jolt/Physics/Collision/Shape/EmptyShape.h:49 ///
/// virtual Vec3 GetSurfaceNormal(const SubShapeID &inSubShapeID, Vec3Arg inLocalSurfacePosition) const override ///
///
[LibraryImport("jolt", EntryPoint = "EmptyShape_GetSurfaceNormal")] public static partial float3 EmptyShape_GetSurfaceNormal(EmptyShape self, uint subShapeID, float3 localSurfacePosition); /// /// /// C++: /// Jolt/Physics/Collision/Shape/EmptyShape.h:50 ///
/// virtual void GetSubmergedVolume(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const Plane &inSurface, float &outTotalVolume, float &outSubmergedVolume, Vec3 &outCenterOfBuoyancy ///
///
[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); /// /// /// C++: /// Jolt/Physics/Collision/Shape/EmptyShape.h:56 ///
/// virtual void Draw(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale, ColorArg inColor, bool inUseMaterialColors, bool inDrawWireframe) const override ///
///
[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); /// /// /// C++: /// Jolt/Physics/Collision/Shape/EmptyShape.h:61 ///
/// virtual void CollideSoftBodyVertices(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const CollideSoftBodyVertexIterator &inVertices, uint inNumVertices, int inCollidingShapeIndex) const override ///
///
[LibraryImport("jolt", EntryPoint = "EmptyShape_CollideSoftBodyVertices")] public static partial void EmptyShape_CollideSoftBodyVertices(EmptyShape self, float4x4 centerOfMassTransform, float3 scale, CollideSoftBodyVertexIterator vertices, uint numVertices, int collidingShapeIndex); /// /// /// C++: /// Jolt/Physics/Collision/Shape/EmptyShape.h:62 ///
/// virtual void GetTrianglesStart(GetTrianglesContext &ioContext, const AABox &inBox, Vec3Arg inPositionCOM, QuatArg inRotation, Vec3Arg inScale) const override ///
///
[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); /// /// /// C++: /// Jolt/Physics/Collision/Shape/EmptyShape.h:65 ///
/// float GetVolume() const override ///
///
[LibraryImport("jolt", EntryPoint = "EmptyShape_GetVolume")] public static partial float EmptyShape_GetVolume(EmptyShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/EmptyShape.h:66 ///
/// bool IsValidScale(Vec3Arg inScale) const override ///
///
[LibraryImport("jolt", EntryPoint = "EmptyShape_IsValidScale")] public static partial Brutal.Bool8 EmptyShape_IsValidScale(EmptyShape self, float3 scale); /// /// /// C++: /// Jolt/Physics/Collision/Shape/EmptyShape.h:69 ///
/// static void sRegister() ///
///
/// /// /// Register shape functions with the registry /// /// [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); } } }