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

169 lines
9.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/CapsuleShape.h#L18">Jolt/Physics/Collision/Shape/CapsuleShape.h:18</see>
/// <br/>
/// <c>CapsuleShapeSettings() = default</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Default constructor for deserialization
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_Create")]
public static partial CapsuleShapeSettings CapsuleShapeSettings_Create();
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CapsuleShape.h#L21">Jolt/Physics/Collision/Shape/CapsuleShape.h:21</see>
/// <br/>
/// <c>CapsuleShapeSettings(float inHalfHeightOfCylinder, float inRadius, const PhysicsMaterial *inMaterial = nullptr)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Create a capsule centered around the origin with one sphere cap at (0, -inHalfHeightOfCylinder, 0)
/// and the other at (0, inHalfHeightOfCylinder, 0)
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_Create_2")]
public static partial CapsuleShapeSettings CapsuleShapeSettings_Create_2(float halfHeightOfCylinder, float radius, PhysicsMaterial material);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CapsuleShape.h#L14">Jolt/Physics/Collision/Shape/CapsuleShape.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 = "CapsuleShapeSettings_GetRTTI")]
public static partial RTTI CapsuleShapeSettings_GetRTTI(CapsuleShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CapsuleShape.h#L14">Jolt/Physics/Collision/Shape/CapsuleShape.h:14</see>
/// <br/>
/// <c></c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_CastTo")]
public static partial void* CapsuleShapeSettings_CastTo(CapsuleShapeSettings self, RTTI rTTI);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CapsuleShape.h#L24">Jolt/Physics/Collision/Shape/CapsuleShape.h:24</see>
/// <br/>
/// <c>bool IsValid() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Check if this is a valid capsule shape
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_IsValid")]
public static partial Brutal.Bool8 CapsuleShapeSettings_IsValid(CapsuleShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CapsuleShape.h#L27">Jolt/Physics/Collision/Shape/CapsuleShape.h:27</see>
/// <br/>
/// <c>bool IsSphere() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Checks if the settings of this capsule make this shape a sphere
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_IsSphere")]
public static partial Brutal.Bool8 CapsuleShapeSettings_IsSphere(CapsuleShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CapsuleShape.h#L30">Jolt/Physics/Collision/Shape/CapsuleShape.h:30</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 = "CapsuleShapeSettings_CreateShape")]
public static partial Shape CapsuleShapeSettings_CreateShape(CapsuleShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CapsuleShape.h#L32">Jolt/Physics/Collision/Shape/CapsuleShape.h:32</see>
/// <br/>
/// <c>float mRadius = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_GetRadius")]
public static partial float CapsuleShapeSettings_GetRadius(CapsuleShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CapsuleShape.h#L32">Jolt/Physics/Collision/Shape/CapsuleShape.h:32</see>
/// <br/>
/// <c>float mRadius = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_SetRadius")]
public static partial void CapsuleShapeSettings_SetRadius(CapsuleShapeSettings self, float value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CapsuleShape.h#L33">Jolt/Physics/Collision/Shape/CapsuleShape.h:33</see>
/// <br/>
/// <c>float mHalfHeightOfCylinder = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "CapsuleShapeSettings_GetHalfHeightOfCylinder")]
public static partial float CapsuleShapeSettings_GetHalfHeightOfCylinder(CapsuleShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CapsuleShape.h#L33">Jolt/Physics/Collision/Shape/CapsuleShape.h:33</see>
/// <br/>
/// <c>float mHalfHeightOfCylinder = 0.0f</c>
/// </para>
/// </summary>
[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);
}
}
}