brutal/brutal.jolt/Brutal.Jolt/Generated/PInvoke/SphereShapeSettings.gen.cs
2026-10-15 14:12:02 +13:00

118 lines
6.2 KiB
C#

// <auto-generated/>
// 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
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/SphereShape.h#L18">Jolt/Physics/Collision/Shape/SphereShape.h:18</see>
/// <br/>
/// <c>SphereShapeSettings() = default</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Default constructor for deserialization
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "SphereShapeSettings_Create")]
public static partial SphereShapeSettings SphereShapeSettings_Create();
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/SphereShape.h#L21">Jolt/Physics/Collision/Shape/SphereShape.h:21</see>
/// <br/>
/// <c>explicit SphereShapeSettings(float inRadius, const PhysicsMaterial *inMaterial = nullptr)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Create a sphere with radius inRadius
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "SphereShapeSettings_Create_2")]
public static partial SphereShapeSettings SphereShapeSettings_Create_2(float radius, PhysicsMaterial material);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/SphereShape.h#L14">Jolt/Physics/Collision/Shape/SphereShape.h:14</see>
/// <br/>
/// <c></c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// The returned handle is borrowed from its owner; don't Dispose it.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "SphereShapeSettings_GetRTTI")]
public static partial RTTI SphereShapeSettings_GetRTTI(SphereShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/SphereShape.h#L14">Jolt/Physics/Collision/Shape/SphereShape.h:14</see>
/// <br/>
/// <c></c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SphereShapeSettings_CastTo")]
public static partial void* SphereShapeSettings_CastTo(SphereShapeSettings self, RTTI rTTI);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/SphereShape.h#L24">Jolt/Physics/Collision/Shape/SphereShape.h:24</see>
/// <br/>
/// <c>virtual ShapeResult Create() const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See: ShapeSettings
/// </para>
/// <para>
/// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "SphereShapeSettings_CreateShape")]
public static partial Shape SphereShapeSettings_CreateShape(SphereShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/SphereShape.h#L26">Jolt/Physics/Collision/Shape/SphereShape.h:26</see>
/// <br/>
/// <c>float mRadius = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SphereShapeSettings_GetRadius")]
public static partial float SphereShapeSettings_GetRadius(SphereShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/SphereShape.h#L26">Jolt/Physics/Collision/Shape/SphereShape.h:26</see>
/// <br/>
/// <c>float mRadius = 0.0f</c>
/// </para>
/// </summary>
[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);
}
}
}