// // 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/CylinderShape.h:19 ///
/// CylinderShapeSettings() = default ///
///
/// /// /// Default constructor for deserialization /// /// [LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_Create")] public static partial CylinderShapeSettings CylinderShapeSettings_Create(); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CylinderShape.h:23 ///
/// CylinderShapeSettings(float inHalfHeight, float inRadius, float inConvexRadius = cDefaultConvexRadius, const PhysicsMaterial *inMaterial = nullptr) ///
///
/// /// /// Create a shape centered around the origin with one top at (0, -inHalfHeight, 0) and the other at (0, inHalfHeight, 0) and radius inRadius. /// (internally the convex radius will be subtracted from the cylinder the total cylinder will not grow with the convex radius, but the edges of the cylinder will be rounded a bit). /// /// [LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_Create_2")] public static partial CylinderShapeSettings CylinderShapeSettings_Create_2(float halfHeight, float radius, float convexRadius, PhysicsMaterial material); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CylinderShape.h:15 ///
/// ///
///
/// /// /// The returned handle is borrowed from its owner; don't Dispose it. /// /// [LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_GetRTTI")] public static partial RTTI CylinderShapeSettings_GetRTTI(CylinderShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CylinderShape.h:15 ///
/// ///
///
[LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_CastTo")] public static partial void* CylinderShapeSettings_CastTo(CylinderShapeSettings self, RTTI rTTI); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CylinderShape.h:26 ///
/// 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 = "CylinderShapeSettings_CreateShape")] public static partial Shape CylinderShapeSettings_CreateShape(CylinderShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CylinderShape.h:28 ///
/// float mHalfHeight = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_GetHalfHeight")] public static partial float CylinderShapeSettings_GetHalfHeight(CylinderShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CylinderShape.h:28 ///
/// float mHalfHeight = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_SetHalfHeight")] public static partial void CylinderShapeSettings_SetHalfHeight(CylinderShapeSettings self, float value); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CylinderShape.h:29 ///
/// float mRadius = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_GetRadius")] public static partial float CylinderShapeSettings_GetRadius(CylinderShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CylinderShape.h:29 ///
/// float mRadius = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_SetRadius")] public static partial void CylinderShapeSettings_SetRadius(CylinderShapeSettings self, float value); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CylinderShape.h:30 ///
/// float mConvexRadius = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_GetConvexRadius")] public static partial float CylinderShapeSettings_GetConvexRadius(CylinderShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/CylinderShape.h:30 ///
/// float mConvexRadius = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_SetConvexRadius")] public static partial void CylinderShapeSettings_SetConvexRadius(CylinderShapeSettings self, float value); [LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_AddRef")] public static partial void CylinderShapeSettings_AddRef(CylinderShapeSettings self); [LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_Release")] public static partial void CylinderShapeSettings_Release(CylinderShapeSettings self); [LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_GetRefCount")] public static partial uint CylinderShapeSettings_GetRefCount(CylinderShapeSettings self); [LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_AsConvexShapeSettings")] public static partial ConvexShapeSettings CylinderShapeSettings_AsConvexShapeSettings(CylinderShapeSettings self); [LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_AsShapeSettings")] public static partial ShapeSettings CylinderShapeSettings_AsShapeSettings(CylinderShapeSettings self); } } }