// // 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/PlaneShape.h:48 ///
/// PlaneShape() ///
///
/// /// /// Constructor /// /// [LibraryImport("jolt", EntryPoint = "PlaneShape_Create")] public static partial PlaneShape PlaneShape_Create(); /// /// /// C++: /// Jolt/Physics/Collision/Shape/PlaneShape.h:49 ///
/// explicit PlaneShape(const Plane &inPlane, const PhysicsMaterial *inMaterial = nullptr, float inHalfExtent = PlaneShapeSettings::cDefaultHalfExtent) ///
///
[LibraryImport("jolt", EntryPoint = "PlaneShape_Create_2")] public static partial PlaneShape PlaneShape_Create_2(Plane plane, PhysicsMaterial material, float halfExtent); /// /// /// C++: /// Jolt/Physics/Collision/Shape/PlaneShape.h:53 ///
/// const Plane & GetPlane() const ///
///
/// /// /// Get the plane /// /// /// The returned handle is borrowed from its owner; don't Dispose it. /// /// [LibraryImport("jolt", EntryPoint = "PlaneShape_GetPlane")] public static partial Plane PlaneShape_GetPlane(PlaneShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/PlaneShape.h:56 ///
/// float GetHalfExtent() const ///
///
/// /// /// Get the half-extent of the bounding box of the plane /// /// [LibraryImport("jolt", EntryPoint = "PlaneShape_GetHalfExtent")] public static partial float PlaneShape_GetHalfExtent(PlaneShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/PlaneShape.h:59 ///
/// virtual bool MustBeStatic() const override ///
///
/// /// /// See Shape::MustBeStatic /// /// [LibraryImport("jolt", EntryPoint = "PlaneShape_MustBeStatic")] public static partial Brutal.Bool8 PlaneShape_MustBeStatic(PlaneShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/PlaneShape.h:65 ///
/// virtual uint GetSubShapeIDBitsRecursive() const override ///
///
/// /// /// See Shape::GetSubShapeIDBitsRecursive /// /// [LibraryImport("jolt", EntryPoint = "PlaneShape_GetSubShapeIDBitsRecursive")] public static partial uint PlaneShape_GetSubShapeIDBitsRecursive(PlaneShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/PlaneShape.h:68 ///
/// virtual float GetInnerRadius() const override ///
///
/// /// /// See Shape::GetInnerRadius /// /// [LibraryImport("jolt", EntryPoint = "PlaneShape_GetInnerRadius")] public static partial float PlaneShape_GetInnerRadius(PlaneShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/PlaneShape.h:74 ///
/// virtual const PhysicsMaterial * GetMaterial(const SubShapeID &inSubShapeID) const override ///
///
/// /// /// See Shape::GetMaterial /// /// [LibraryImport("jolt", EntryPoint = "PlaneShape_GetMaterial")] public static partial PhysicsMaterial PlaneShape_GetMaterial(PlaneShape self, uint subShapeID); /// /// /// C++: /// Jolt/Physics/Collision/Shape/PlaneShape.h:77 ///
/// virtual Vec3 GetSurfaceNormal(const SubShapeID &inSubShapeID, Vec3Arg inLocalSurfacePosition) const override ///
///
/// /// /// See Shape::GetSurfaceNormal /// /// [LibraryImport("jolt", EntryPoint = "PlaneShape_GetSurfaceNormal")] public static partial float3 PlaneShape_GetSurfaceNormal(PlaneShape self, uint subShapeID, float3 localSurfacePosition); /// /// /// C++: /// Jolt/Physics/Collision/Shape/PlaneShape.h:84 ///
/// virtual void Draw(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale, ColorArg inColor, bool inUseMaterialColors, bool inDrawWireframe) const override ///
///
/// /// /// See Shape::Draw /// /// [LibraryImport("jolt", EntryPoint = "PlaneShape_Draw")] public static partial void PlaneShape_Draw(PlaneShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale, uint color, Brutal.Bool8 useMaterialColors, Brutal.Bool8 drawWireframe); /// /// /// C++: /// Jolt/Physics/Collision/Shape/PlaneShape.h:95 ///
/// virtual void CollideSoftBodyVertices(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const CollideSoftBodyVertexIterator &inVertices, uint inNumVertices, int inCollidingShapeIndex) const override ///
///
/// /// /// See: Shape::CollideSoftBodyVertices /// /// [LibraryImport("jolt", EntryPoint = "PlaneShape_CollideSoftBodyVertices")] public static partial void PlaneShape_CollideSoftBodyVertices(PlaneShape self, float4x4 centerOfMassTransform, float3 scale, CollideSoftBodyVertexIterator vertices, uint numVertices, int collidingShapeIndex); /// /// /// C++: /// Jolt/Physics/Collision/Shape/PlaneShape.h:98 ///
/// virtual void GetTrianglesStart(GetTrianglesContext &ioContext, const AABox &inBox, Vec3Arg inPositionCOM, QuatArg inRotation, Vec3Arg inScale) const override ///
///
/// /// /// See Shape::GetTrianglesStart /// /// [LibraryImport("jolt", EntryPoint = "PlaneShape_GetTrianglesStart")] public static partial void PlaneShape_GetTrianglesStart(PlaneShape self, ref Shape.GetTrianglesContext context, AABox box, float3 positionCOM, floatQuat rotation, float3 scale); /// /// /// C++: /// Jolt/Physics/Collision/Shape/PlaneShape.h:104 ///
/// 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 = "PlaneShape_GetSubmergedVolume")] public static partial void PlaneShape_GetSubmergedVolume(PlaneShape self, float4x4 centerOfMassTransform, float3 scale, Plane surface, out float totalVolume, out float submergedVolume, out float3 centerOfBuoyancy, float3 baseOffset); /// /// /// C++: /// Jolt/Physics/Collision/Shape/PlaneShape.h:107 ///
/// virtual void SaveBinaryState(StreamOut &inStream) const override ///
///
/// /// /// See Shape /// /// [LibraryImport("jolt", EntryPoint = "PlaneShape_SaveBinaryState")] public static partial void PlaneShape_SaveBinaryState(PlaneShape self, StreamOut stream); /// /// /// C++: /// Jolt/Physics/Collision/Shape/PlaneShape.h:115 ///
/// virtual float GetVolume() const override ///
///
/// /// /// See Shape::GetVolume /// /// [LibraryImport("jolt", EntryPoint = "PlaneShape_GetVolume")] public static partial float PlaneShape_GetVolume(PlaneShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/PlaneShape.h:118 ///
/// void SetMaterial(const PhysicsMaterial *inMaterial) ///
///
/// /// /// Material of the shape /// /// [LibraryImport("jolt", EntryPoint = "PlaneShape_SetMaterial")] public static partial void PlaneShape_SetMaterial(PlaneShape self, PhysicsMaterial material); /// /// /// C++: /// Jolt/Physics/Collision/Shape/PlaneShape.h:119 ///
/// const PhysicsMaterial * GetMaterial() const ///
///
[LibraryImport("jolt", EntryPoint = "PlaneShape_GetMaterial_2")] public static partial PhysicsMaterial PlaneShape_GetMaterial_2(PlaneShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/PlaneShape.h:122 ///
/// static void sRegister() ///
///
/// /// /// Register shape functions with the registry /// /// [LibraryImport("jolt", EntryPoint = "PlaneShape_sRegister")] public static partial void PlaneShape_sRegister(); [LibraryImport("jolt", EntryPoint = "PlaneShape_AddRef")] public static partial void PlaneShape_AddRef(PlaneShape self); [LibraryImport("jolt", EntryPoint = "PlaneShape_Release")] public static partial void PlaneShape_Release(PlaneShape self); [LibraryImport("jolt", EntryPoint = "PlaneShape_GetRefCount")] public static partial uint PlaneShape_GetRefCount(PlaneShape self); [LibraryImport("jolt", EntryPoint = "PlaneShape_AsShape")] public static partial Shape PlaneShape_AsShape(PlaneShape self); } } }