// // 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/TaperedCylinderShape.h:40 ///
/// TaperedCylinderShape() ///
///
/// /// /// Constructor /// /// [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_Create")] public static partial TaperedCylinderShape TaperedCylinderShape_Create(); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:44 ///
/// inline float GetTopRadius() const ///
///
/// /// /// Get top radius of the tapered cylinder /// /// [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetTopRadius")] public static partial float TaperedCylinderShape_GetTopRadius(TaperedCylinderShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:47 ///
/// inline float GetBottomRadius() const ///
///
/// /// /// Get bottom radius of the tapered cylinder /// /// [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetBottomRadius")] public static partial float TaperedCylinderShape_GetBottomRadius(TaperedCylinderShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:50 ///
/// inline float GetConvexRadius() const ///
///
/// /// /// Get convex radius of the tapered cylinder /// /// [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetConvexRadius")] public static partial float TaperedCylinderShape_GetConvexRadius(TaperedCylinderShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:53 ///
/// inline float GetHalfHeight() const ///
///
/// /// /// Get half height of the tapered cylinder /// /// [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetHalfHeight")] public static partial float TaperedCylinderShape_GetHalfHeight(TaperedCylinderShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:56 ///
/// virtual Vec3 GetCenterOfMass() const override ///
///
/// /// /// See Shape::GetCenterOfMass /// /// [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetCenterOfMass")] public static partial float3 TaperedCylinderShape_GetCenterOfMass(TaperedCylinderShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:62 ///
/// virtual float GetInnerRadius() const override ///
///
/// /// /// See Shape::GetInnerRadius /// /// [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetInnerRadius")] public static partial float TaperedCylinderShape_GetInnerRadius(TaperedCylinderShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:68 ///
/// virtual Vec3 GetSurfaceNormal(const SubShapeID &inSubShapeID, Vec3Arg inLocalSurfacePosition) const override ///
///
/// /// /// See Shape::GetSurfaceNormal /// /// [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetSurfaceNormal")] public static partial float3 TaperedCylinderShape_GetSurfaceNormal(TaperedCylinderShape self, uint subShapeID, float3 localSurfacePosition); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:80 ///
/// virtual void CollideSoftBodyVertices(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const CollideSoftBodyVertexIterator &inVertices, uint inNumVertices, int inCollidingShapeIndex) const override ///
///
/// /// /// See: Shape::CollideSoftBodyVertices /// /// [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_CollideSoftBodyVertices")] public static partial void TaperedCylinderShape_CollideSoftBodyVertices(TaperedCylinderShape self, float4x4 centerOfMassTransform, float3 scale, CollideSoftBodyVertexIterator vertices, uint numVertices, int collidingShapeIndex); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:83 ///
/// virtual void GetTrianglesStart(GetTrianglesContext &ioContext, const AABox &inBox, Vec3Arg inPositionCOM, QuatArg inRotation, Vec3Arg inScale) const override ///
///
/// /// /// See Shape::GetTrianglesStart /// /// [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetTrianglesStart")] public static partial void TaperedCylinderShape_GetTrianglesStart(TaperedCylinderShape self, ref Shape.GetTrianglesContext context, AABox box, float3 positionCOM, floatQuat rotation, float3 scale); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:90 ///
/// virtual void Draw(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale, ColorArg inColor, bool inUseMaterialColors, bool inDrawWireframe) const override ///
///
/// /// /// See Shape::Draw /// /// [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_Draw")] public static partial void TaperedCylinderShape_Draw(TaperedCylinderShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale, uint color, Brutal.Bool8 useMaterialColors, Brutal.Bool8 drawWireframe); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:94 ///
/// virtual void SaveBinaryState(StreamOut &inStream) const override ///
///
/// /// /// See Shape /// /// [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_SaveBinaryState")] public static partial void TaperedCylinderShape_SaveBinaryState(TaperedCylinderShape self, StreamOut stream); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:100 ///
/// virtual float GetVolume() const override ///
///
/// /// /// See Shape::GetVolume /// /// [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetVolume")] public static partial float TaperedCylinderShape_GetVolume(TaperedCylinderShape self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:103 ///
/// virtual bool IsValidScale(Vec3Arg inScale) const override ///
///
/// /// /// See Shape::IsValidScale /// /// [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_IsValidScale")] public static partial Brutal.Bool8 TaperedCylinderShape_IsValidScale(TaperedCylinderShape self, float3 scale); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:106 ///
/// virtual Vec3 MakeScaleValid(Vec3Arg inScale) const override ///
///
/// /// /// See Shape::MakeScaleValid /// /// [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_MakeScaleValid")] public static partial float3 TaperedCylinderShape_MakeScaleValid(TaperedCylinderShape self, float3 scale); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:109 ///
/// static void sRegister() ///
///
/// /// /// Register shape functions with the registry /// /// [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_sRegister")] public static partial void TaperedCylinderShape_sRegister(); [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_AddRef")] public static partial void TaperedCylinderShape_AddRef(TaperedCylinderShape self); [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_Release")] public static partial void TaperedCylinderShape_Release(TaperedCylinderShape self); [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_GetRefCount")] public static partial uint TaperedCylinderShape_GetRefCount(TaperedCylinderShape self); [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_AsConvexShape")] public static partial ConvexShape TaperedCylinderShape_AsConvexShape(TaperedCylinderShape self); [LibraryImport("jolt", EntryPoint = "TaperedCylinderShape_AsShape")] public static partial Shape TaperedCylinderShape_AsShape(TaperedCylinderShape self); } } }