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

159 lines
9.1 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/CylinderShape.h#L19">Jolt/Physics/Collision/Shape/CylinderShape.h:19</see>
/// <br/>
/// <c>CylinderShapeSettings() = default</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Default constructor for deserialization
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_Create")]
public static partial CylinderShapeSettings CylinderShapeSettings_Create();
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CylinderShape.h#L23">Jolt/Physics/Collision/Shape/CylinderShape.h:23</see>
/// <br/>
/// <c>CylinderShapeSettings(float inHalfHeight, float inRadius, float inConvexRadius = cDefaultConvexRadius, const PhysicsMaterial *inMaterial = nullptr)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// 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).
/// </code>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_Create_2")]
public static partial CylinderShapeSettings CylinderShapeSettings_Create_2(float halfHeight, float radius, float convexRadius, PhysicsMaterial material);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CylinderShape.h#L15">Jolt/Physics/Collision/Shape/CylinderShape.h:15</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 = "CylinderShapeSettings_GetRTTI")]
public static partial RTTI CylinderShapeSettings_GetRTTI(CylinderShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CylinderShape.h#L15">Jolt/Physics/Collision/Shape/CylinderShape.h:15</see>
/// <br/>
/// <c></c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_CastTo")]
public static partial void* CylinderShapeSettings_CastTo(CylinderShapeSettings self, RTTI rTTI);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CylinderShape.h#L26">Jolt/Physics/Collision/Shape/CylinderShape.h:26</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 = "CylinderShapeSettings_CreateShape")]
public static partial Shape CylinderShapeSettings_CreateShape(CylinderShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CylinderShape.h#L28">Jolt/Physics/Collision/Shape/CylinderShape.h:28</see>
/// <br/>
/// <c>float mHalfHeight = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_GetHalfHeight")]
public static partial float CylinderShapeSettings_GetHalfHeight(CylinderShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CylinderShape.h#L28">Jolt/Physics/Collision/Shape/CylinderShape.h:28</see>
/// <br/>
/// <c>float mHalfHeight = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_SetHalfHeight")]
public static partial void CylinderShapeSettings_SetHalfHeight(CylinderShapeSettings self, float value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CylinderShape.h#L29">Jolt/Physics/Collision/Shape/CylinderShape.h:29</see>
/// <br/>
/// <c>float mRadius = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_GetRadius")]
public static partial float CylinderShapeSettings_GetRadius(CylinderShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CylinderShape.h#L29">Jolt/Physics/Collision/Shape/CylinderShape.h:29</see>
/// <br/>
/// <c>float mRadius = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_SetRadius")]
public static partial void CylinderShapeSettings_SetRadius(CylinderShapeSettings self, float value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CylinderShape.h#L30">Jolt/Physics/Collision/Shape/CylinderShape.h:30</see>
/// <br/>
/// <c>float mConvexRadius = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "CylinderShapeSettings_GetConvexRadius")]
public static partial float CylinderShapeSettings_GetConvexRadius(CylinderShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/CylinderShape.h#L30">Jolt/Physics/Collision/Shape/CylinderShape.h:30</see>
/// <br/>
/// <c>float mConvexRadius = 0.0f</c>
/// </para>
/// </summary>
[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);
}
}
}