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

180 lines
11 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/TaperedCylinderShape.h#L19">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:19</see>
/// <br/>
/// <c>TaperedCylinderShapeSettings() = default</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Default constructor for deserialization
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_Create")]
public static partial TaperedCylinderShapeSettings TaperedCylinderShapeSettings_Create();
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L22">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:22</see>
/// <br/>
/// <c>TaperedCylinderShapeSettings(float inHalfHeightOfTaperedCylinder, float inTopRadius, float inBottomRadius, float inConvexRadius = cDefaultConvexRadius, const PhysicsMaterial *inMaterial = nullptr)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Create a tapered cylinder centered around the origin with bottom at (0,
/// -inHalfHeightOfTaperedCylinder, 0) with radius inBottomRadius and top at (0,
/// inHalfHeightOfTaperedCylinder, 0) with radius inTopRadius
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_Create_2")]
public static partial TaperedCylinderShapeSettings TaperedCylinderShapeSettings_Create_2(float halfHeightOfTaperedCylinder, float topRadius, float bottomRadius, float convexRadius, PhysicsMaterial material);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L15">Jolt/Physics/Collision/Shape/TaperedCylinderShape.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 = "TaperedCylinderShapeSettings_GetRTTI")]
public static partial RTTI TaperedCylinderShapeSettings_GetRTTI(TaperedCylinderShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L15">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:15</see>
/// <br/>
/// <c></c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_CastTo")]
public static partial void* TaperedCylinderShapeSettings_CastTo(TaperedCylinderShapeSettings self, RTTI rTTI);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L25">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:25</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 = "TaperedCylinderShapeSettings_CreateShape")]
public static partial Shape TaperedCylinderShapeSettings_CreateShape(TaperedCylinderShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L27">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:27</see>
/// <br/>
/// <c>float mHalfHeight = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_GetHalfHeight")]
public static partial float TaperedCylinderShapeSettings_GetHalfHeight(TaperedCylinderShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L27">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:27</see>
/// <br/>
/// <c>float mHalfHeight = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_SetHalfHeight")]
public static partial void TaperedCylinderShapeSettings_SetHalfHeight(TaperedCylinderShapeSettings self, float value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L28">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:28</see>
/// <br/>
/// <c>float mTopRadius = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_GetTopRadius")]
public static partial float TaperedCylinderShapeSettings_GetTopRadius(TaperedCylinderShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L28">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:28</see>
/// <br/>
/// <c>float mTopRadius = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_SetTopRadius")]
public static partial void TaperedCylinderShapeSettings_SetTopRadius(TaperedCylinderShapeSettings self, float value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L29">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:29</see>
/// <br/>
/// <c>float mBottomRadius = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_GetBottomRadius")]
public static partial float TaperedCylinderShapeSettings_GetBottomRadius(TaperedCylinderShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L29">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:29</see>
/// <br/>
/// <c>float mBottomRadius = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_SetBottomRadius")]
public static partial void TaperedCylinderShapeSettings_SetBottomRadius(TaperedCylinderShapeSettings self, float value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L30">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:30</see>
/// <br/>
/// <c>float mConvexRadius = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_GetConvexRadius")]
public static partial float TaperedCylinderShapeSettings_GetConvexRadius(TaperedCylinderShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h#L30">Jolt/Physics/Collision/Shape/TaperedCylinderShape.h:30</see>
/// <br/>
/// <c>float mConvexRadius = 0.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_SetConvexRadius")]
public static partial void TaperedCylinderShapeSettings_SetConvexRadius(TaperedCylinderShapeSettings self, float value);
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_AddRef")]
public static partial void TaperedCylinderShapeSettings_AddRef(TaperedCylinderShapeSettings self);
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_Release")]
public static partial void TaperedCylinderShapeSettings_Release(TaperedCylinderShapeSettings self);
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_GetRefCount")]
public static partial uint TaperedCylinderShapeSettings_GetRefCount(TaperedCylinderShapeSettings self);
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_AsConvexShapeSettings")]
public static partial ConvexShapeSettings TaperedCylinderShapeSettings_AsConvexShapeSettings(TaperedCylinderShapeSettings self);
[LibraryImport("jolt", EntryPoint = "TaperedCylinderShapeSettings_AsShapeSettings")]
public static partial ShapeSettings TaperedCylinderShapeSettings_AsShapeSettings(TaperedCylinderShapeSettings self);
}
}
}