// // 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:21 ///
/// TaperedCapsuleShapeSettings() = default ///
///
/// /// /// Default constructor for deserialization /// /// [LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_Create")] public static partial TaperedCapsuleShapeSettings TaperedCapsuleShapeSettings_Create(); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:24 ///
/// TaperedCapsuleShapeSettings(float inHalfHeightOfTaperedCylinder, float inTopRadius, float inBottomRadius, const PhysicsMaterial *inMaterial = nullptr) ///
///
/// /// /// Create a tapered capsule centered around the origin with one sphere cap at (0, /// -inHalfHeightOfTaperedCylinder, 0) with radius inBottomRadius and the other at (0, /// inHalfHeightOfTaperedCylinder, 0) with radius inTopRadius /// /// [LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_Create_2")] public static partial TaperedCapsuleShapeSettings TaperedCapsuleShapeSettings_Create_2(float halfHeightOfTaperedCylinder, float topRadius, float bottomRadius, PhysicsMaterial material); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:17 ///
/// ///
///
/// /// /// The returned handle is borrowed from its owner; don't Dispose it. /// /// [LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_GetRTTI")] public static partial RTTI TaperedCapsuleShapeSettings_GetRTTI(TaperedCapsuleShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:17 ///
/// ///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_CastTo")] public static partial void* TaperedCapsuleShapeSettings_CastTo(TaperedCapsuleShapeSettings self, RTTI rTTI); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:27 ///
/// bool IsValid() const ///
///
/// /// /// Check if the settings are valid /// /// [LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_IsValid")] public static partial Brutal.Bool8 TaperedCapsuleShapeSettings_IsValid(TaperedCapsuleShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:30 ///
/// bool IsSphere() const ///
///
/// /// /// Checks if the settings of this tapered capsule make this shape a sphere /// /// [LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_IsSphere")] public static partial Brutal.Bool8 TaperedCapsuleShapeSettings_IsSphere(TaperedCapsuleShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:33 ///
/// virtual ShapeResult Create() const override ///
///
/// /// /// See: ShapeSettings /// /// /// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message. /// /// [LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_CreateShape")] public static partial Shape TaperedCapsuleShapeSettings_CreateShape(TaperedCapsuleShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:35 ///
/// float mHalfHeightOfTaperedCylinder = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_GetHalfHeightOfTaperedCylinder")] public static partial float TaperedCapsuleShapeSettings_GetHalfHeightOfTaperedCylinder(TaperedCapsuleShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:35 ///
/// float mHalfHeightOfTaperedCylinder = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_SetHalfHeightOfTaperedCylinder")] public static partial void TaperedCapsuleShapeSettings_SetHalfHeightOfTaperedCylinder(TaperedCapsuleShapeSettings self, float value); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:36 ///
/// float mTopRadius = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_GetTopRadius")] public static partial float TaperedCapsuleShapeSettings_GetTopRadius(TaperedCapsuleShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:36 ///
/// float mTopRadius = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_SetTopRadius")] public static partial void TaperedCapsuleShapeSettings_SetTopRadius(TaperedCapsuleShapeSettings self, float value); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:37 ///
/// float mBottomRadius = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_GetBottomRadius")] public static partial float TaperedCapsuleShapeSettings_GetBottomRadius(TaperedCapsuleShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:37 ///
/// float mBottomRadius = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_SetBottomRadius")] public static partial void TaperedCapsuleShapeSettings_SetBottomRadius(TaperedCapsuleShapeSettings self, float value); [LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_AddRef")] public static partial void TaperedCapsuleShapeSettings_AddRef(TaperedCapsuleShapeSettings self); [LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_Release")] public static partial void TaperedCapsuleShapeSettings_Release(TaperedCapsuleShapeSettings self); [LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_GetRefCount")] public static partial uint TaperedCapsuleShapeSettings_GetRefCount(TaperedCapsuleShapeSettings self); [LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_AsConvexShapeSettings")] public static partial ConvexShapeSettings TaperedCapsuleShapeSettings_AsConvexShapeSettings(TaperedCapsuleShapeSettings self); [LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_AsShapeSettings")] public static partial ShapeSettings TaperedCapsuleShapeSettings_AsShapeSettings(TaperedCapsuleShapeSettings self); } } }