//
// 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/TaperedCapsuleShape.h:47
///
/// TaperedCapsuleShape()
///
///
///
///
/// Constructor
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_Create")]
public static partial TaperedCapsuleShape TaperedCapsuleShape_Create();
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:51
///
/// inline float GetTopRadius() const
///
///
///
///
/// Get top radius of the tapered capsule
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_GetTopRadius")]
public static partial float TaperedCapsuleShape_GetTopRadius(TaperedCapsuleShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:54
///
/// inline float GetBottomRadius() const
///
///
///
///
/// Get bottom radius of the tapered capsule
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_GetBottomRadius")]
public static partial float TaperedCapsuleShape_GetBottomRadius(TaperedCapsuleShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:57
///
/// inline float GetHalfHeight() const
///
///
///
///
/// Get half height between the top and bottom sphere center
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_GetHalfHeight")]
public static partial float TaperedCapsuleShape_GetHalfHeight(TaperedCapsuleShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:60
///
/// virtual Vec3 GetCenterOfMass() const override
///
///
///
///
/// See Shape::GetCenterOfMass
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_GetCenterOfMass")]
public static partial float3 TaperedCapsuleShape_GetCenterOfMass(TaperedCapsuleShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:70
///
/// virtual float GetInnerRadius() const override
///
///
///
///
/// See Shape::GetInnerRadius
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_GetInnerRadius")]
public static partial float TaperedCapsuleShape_GetInnerRadius(TaperedCapsuleShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:76
///
/// virtual Vec3 GetSurfaceNormal(const SubShapeID &inSubShapeID, Vec3Arg inLocalSurfacePosition) const override
///
///
///
///
/// See Shape::GetSurfaceNormal
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_GetSurfaceNormal")]
public static partial float3 TaperedCapsuleShape_GetSurfaceNormal(TaperedCapsuleShape self, uint subShapeID, float3 localSurfacePosition);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:85
///
/// virtual void CollideSoftBodyVertices(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const CollideSoftBodyVertexIterator &inVertices, uint inNumVertices, int inCollidingShapeIndex) const override
///
///
///
///
/// See: Shape::CollideSoftBodyVertices
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_CollideSoftBodyVertices")]
public static partial void TaperedCapsuleShape_CollideSoftBodyVertices(TaperedCapsuleShape self, float4x4 centerOfMassTransform, float3 scale, CollideSoftBodyVertexIterator vertices, uint numVertices, int collidingShapeIndex);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:89
///
/// virtual void Draw(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale, ColorArg inColor, bool inUseMaterialColors, bool inDrawWireframe) const override
///
///
///
///
/// See Shape::Draw
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_Draw")]
public static partial void TaperedCapsuleShape_Draw(TaperedCapsuleShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale, uint color, Brutal.Bool8 useMaterialColors, Brutal.Bool8 drawWireframe);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:93
///
/// virtual void SaveBinaryState(StreamOut &inStream) const override
///
///
///
///
/// See Shape
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_SaveBinaryState")]
public static partial void TaperedCapsuleShape_SaveBinaryState(TaperedCapsuleShape self, StreamOut stream);
///
///
/// Volume is approximate!
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:99
///
/// virtual float GetVolume() const override
///
///
///
///
/// See Shape::GetVolume
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_GetVolume")]
public static partial float TaperedCapsuleShape_GetVolume(TaperedCapsuleShape self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:102
///
/// virtual bool IsValidScale(Vec3Arg inScale) const override
///
///
///
///
/// See Shape::IsValidScale
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_IsValidScale")]
public static partial Brutal.Bool8 TaperedCapsuleShape_IsValidScale(TaperedCapsuleShape self, float3 scale);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:105
///
/// virtual Vec3 MakeScaleValid(Vec3Arg inScale) const override
///
///
///
///
/// See Shape::MakeScaleValid
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_MakeScaleValid")]
public static partial float3 TaperedCapsuleShape_MakeScaleValid(TaperedCapsuleShape self, float3 scale);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:108
///
/// static void sRegister()
///
///
///
///
/// Register shape functions with the registry
///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_sRegister")]
public static partial void TaperedCapsuleShape_sRegister();
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_AddRef")]
public static partial void TaperedCapsuleShape_AddRef(TaperedCapsuleShape self);
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_Release")]
public static partial void TaperedCapsuleShape_Release(TaperedCapsuleShape self);
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_GetRefCount")]
public static partial uint TaperedCapsuleShape_GetRefCount(TaperedCapsuleShape self);
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_AsConvexShape")]
public static partial ConvexShape TaperedCapsuleShape_AsConvexShape(TaperedCapsuleShape self);
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShape_AsShape")]
public static partial Shape TaperedCapsuleShape_AsShape(TaperedCapsuleShape self);
}
}
}