// // 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/SphereShape.h:18 ///
/// SphereShapeSettings() = default ///
///
/// /// /// Default constructor for deserialization /// /// [LibraryImport("jolt", EntryPoint = "SphereShapeSettings_Create")] public static partial SphereShapeSettings SphereShapeSettings_Create(); /// /// /// C++: /// Jolt/Physics/Collision/Shape/SphereShape.h:21 ///
/// explicit SphereShapeSettings(float inRadius, const PhysicsMaterial *inMaterial = nullptr) ///
///
/// /// /// Create a sphere with radius inRadius /// /// [LibraryImport("jolt", EntryPoint = "SphereShapeSettings_Create_2")] public static partial SphereShapeSettings SphereShapeSettings_Create_2(float radius, PhysicsMaterial material); /// /// /// C++: /// Jolt/Physics/Collision/Shape/SphereShape.h:14 ///
/// ///
///
/// /// /// The returned handle is borrowed from its owner; don't Dispose it. /// /// [LibraryImport("jolt", EntryPoint = "SphereShapeSettings_GetRTTI")] public static partial RTTI SphereShapeSettings_GetRTTI(SphereShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/SphereShape.h:14 ///
/// ///
///
[LibraryImport("jolt", EntryPoint = "SphereShapeSettings_CastTo")] public static partial void* SphereShapeSettings_CastTo(SphereShapeSettings self, RTTI rTTI); /// /// /// C++: /// Jolt/Physics/Collision/Shape/SphereShape.h:24 ///
/// 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 = "SphereShapeSettings_CreateShape")] public static partial Shape SphereShapeSettings_CreateShape(SphereShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/SphereShape.h:26 ///
/// float mRadius = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "SphereShapeSettings_GetRadius")] public static partial float SphereShapeSettings_GetRadius(SphereShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/SphereShape.h:26 ///
/// float mRadius = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "SphereShapeSettings_SetRadius")] public static partial void SphereShapeSettings_SetRadius(SphereShapeSettings self, float value); [LibraryImport("jolt", EntryPoint = "SphereShapeSettings_AddRef")] public static partial void SphereShapeSettings_AddRef(SphereShapeSettings self); [LibraryImport("jolt", EntryPoint = "SphereShapeSettings_Release")] public static partial void SphereShapeSettings_Release(SphereShapeSettings self); [LibraryImport("jolt", EntryPoint = "SphereShapeSettings_GetRefCount")] public static partial uint SphereShapeSettings_GetRefCount(SphereShapeSettings self); [LibraryImport("jolt", EntryPoint = "SphereShapeSettings_AsConvexShapeSettings")] public static partial ConvexShapeSettings SphereShapeSettings_AsConvexShapeSettings(SphereShapeSettings self); [LibraryImport("jolt", EntryPoint = "SphereShapeSettings_AsShapeSettings")] public static partial ShapeSettings SphereShapeSettings_AsShapeSettings(SphereShapeSettings self); } } }