// // 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/CapsuleShape.h:18 ///
/// CapsuleShapeSettings() = default ///
///
/// /// /// Default constructor for deserialization /// /// [LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_Create")] public static partial CapsuleShapeSettings CapsuleShapeSettings_Create(); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CapsuleShape.h:21 ///
/// CapsuleShapeSettings(float inHalfHeightOfCylinder, float inRadius, const PhysicsMaterial *inMaterial = nullptr) ///
///
/// /// /// Create a capsule centered around the origin with one sphere cap at (0, -inHalfHeightOfCylinder, 0) /// and the other at (0, inHalfHeightOfCylinder, 0) /// /// [LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_Create_2")] public static partial CapsuleShapeSettings CapsuleShapeSettings_Create_2(float halfHeightOfCylinder, float radius, PhysicsMaterial material); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CapsuleShape.h:14 ///
/// ///
///
/// /// /// The returned handle is borrowed from its owner; don't Dispose it. /// /// [LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_GetRTTI")] public static partial RTTI CapsuleShapeSettings_GetRTTI(CapsuleShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CapsuleShape.h:14 ///
/// ///
///
[LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_CastTo")] public static partial void* CapsuleShapeSettings_CastTo(CapsuleShapeSettings self, RTTI rTTI); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CapsuleShape.h:24 ///
/// bool IsValid() const ///
///
/// /// /// Check if this is a valid capsule shape /// /// [LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_IsValid")] public static partial Brutal.Bool8 CapsuleShapeSettings_IsValid(CapsuleShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CapsuleShape.h:27 ///
/// bool IsSphere() const ///
///
/// /// /// Checks if the settings of this capsule make this shape a sphere /// /// [LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_IsSphere")] public static partial Brutal.Bool8 CapsuleShapeSettings_IsSphere(CapsuleShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CapsuleShape.h:30 ///
/// 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 = "CapsuleShapeSettings_CreateShape")] public static partial Shape CapsuleShapeSettings_CreateShape(CapsuleShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CapsuleShape.h:32 ///
/// float mRadius = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_GetRadius")] public static partial float CapsuleShapeSettings_GetRadius(CapsuleShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CapsuleShape.h:32 ///
/// float mRadius = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_SetRadius")] public static partial void CapsuleShapeSettings_SetRadius(CapsuleShapeSettings self, float value); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CapsuleShape.h:33 ///
/// float mHalfHeightOfCylinder = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_GetHalfHeightOfCylinder")] public static partial float CapsuleShapeSettings_GetHalfHeightOfCylinder(CapsuleShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CapsuleShape.h:33 ///
/// float mHalfHeightOfCylinder = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_SetHalfHeightOfCylinder")] public static partial void CapsuleShapeSettings_SetHalfHeightOfCylinder(CapsuleShapeSettings self, float value); [LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_AddRef")] public static partial void CapsuleShapeSettings_AddRef(CapsuleShapeSettings self); [LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_Release")] public static partial void CapsuleShapeSettings_Release(CapsuleShapeSettings self); [LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_GetRefCount")] public static partial uint CapsuleShapeSettings_GetRefCount(CapsuleShapeSettings self); [LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_AsConvexShapeSettings")] public static partial ConvexShapeSettings CapsuleShapeSettings_AsConvexShapeSettings(CapsuleShapeSettings self); [LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_AsShapeSettings")] public static partial ShapeSettings CapsuleShapeSettings_AsShapeSettings(CapsuleShapeSettings self); } } }