mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
190 lines
11 KiB
C#
190 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/TaperedCapsuleShape.h#L21">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:21</see>
|
|
/// <br/>
|
|
/// <c>TaperedCapsuleShapeSettings() = default</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Default constructor for deserialization
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_Create")]
|
|
public static partial TaperedCapsuleShapeSettings TaperedCapsuleShapeSettings_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L24">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:24</see>
|
|
/// <br/>
|
|
/// <c>TaperedCapsuleShapeSettings(float inHalfHeightOfTaperedCylinder, float inTopRadius, float inBottomRadius, const PhysicsMaterial *inMaterial = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Create a tapered capsule centered around the origin with one sphere cap at (0,
|
|
/// -inHalfHeightOfTaperedCylinder, 0) with radius inBottomRadius and the other at (0,
|
|
/// inHalfHeightOfTaperedCylinder, 0) with radius inTopRadius
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_Create_2")]
|
|
public static partial TaperedCapsuleShapeSettings TaperedCapsuleShapeSettings_Create_2(float halfHeightOfTaperedCylinder, float topRadius, float bottomRadius, PhysicsMaterial material);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L17">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:17</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 = "TaperedCapsuleShapeSettings_GetRTTI")]
|
|
public static partial RTTI TaperedCapsuleShapeSettings_GetRTTI(TaperedCapsuleShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L17">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:17</see>
|
|
/// <br/>
|
|
/// <c></c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_CastTo")]
|
|
public static partial void* TaperedCapsuleShapeSettings_CastTo(TaperedCapsuleShapeSettings self, RTTI rTTI);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L27">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:27</see>
|
|
/// <br/>
|
|
/// <c>bool IsValid() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Check if the settings are valid
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_IsValid")]
|
|
public static partial Brutal.Bool8 TaperedCapsuleShapeSettings_IsValid(TaperedCapsuleShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L30">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:30</see>
|
|
/// <br/>
|
|
/// <c>bool IsSphere() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Checks if the settings of this tapered capsule make this shape a sphere
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_IsSphere")]
|
|
public static partial Brutal.Bool8 TaperedCapsuleShapeSettings_IsSphere(TaperedCapsuleShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L33">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:33</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 = "TaperedCapsuleShapeSettings_CreateShape")]
|
|
public static partial Shape TaperedCapsuleShapeSettings_CreateShape(TaperedCapsuleShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L35">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:35</see>
|
|
/// <br/>
|
|
/// <c>float mHalfHeightOfTaperedCylinder = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_GetHalfHeightOfTaperedCylinder")]
|
|
public static partial float TaperedCapsuleShapeSettings_GetHalfHeightOfTaperedCylinder(TaperedCapsuleShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L35">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:35</see>
|
|
/// <br/>
|
|
/// <c>float mHalfHeightOfTaperedCylinder = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_SetHalfHeightOfTaperedCylinder")]
|
|
public static partial void TaperedCapsuleShapeSettings_SetHalfHeightOfTaperedCylinder(TaperedCapsuleShapeSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L36">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:36</see>
|
|
/// <br/>
|
|
/// <c>float mTopRadius = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_GetTopRadius")]
|
|
public static partial float TaperedCapsuleShapeSettings_GetTopRadius(TaperedCapsuleShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L36">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:36</see>
|
|
/// <br/>
|
|
/// <c>float mTopRadius = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_SetTopRadius")]
|
|
public static partial void TaperedCapsuleShapeSettings_SetTopRadius(TaperedCapsuleShapeSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L37">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:37</see>
|
|
/// <br/>
|
|
/// <c>float mBottomRadius = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_GetBottomRadius")]
|
|
public static partial float TaperedCapsuleShapeSettings_GetBottomRadius(TaperedCapsuleShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h#L37">Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h:37</see>
|
|
/// <br/>
|
|
/// <c>float mBottomRadius = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_SetBottomRadius")]
|
|
public static partial void TaperedCapsuleShapeSettings_SetBottomRadius(TaperedCapsuleShapeSettings self, float value);
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_AddRef")]
|
|
public static partial void TaperedCapsuleShapeSettings_AddRef(TaperedCapsuleShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_Release")]
|
|
public static partial void TaperedCapsuleShapeSettings_Release(TaperedCapsuleShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_GetRefCount")]
|
|
public static partial uint TaperedCapsuleShapeSettings_GetRefCount(TaperedCapsuleShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_AsConvexShapeSettings")]
|
|
public static partial ConvexShapeSettings TaperedCapsuleShapeSettings_AsConvexShapeSettings(TaperedCapsuleShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "TaperedCapsuleShapeSettings_AsShapeSettings")]
|
|
public static partial ShapeSettings TaperedCapsuleShapeSettings_AsShapeSettings(TaperedCapsuleShapeSettings self);
|
|
}
|
|
}
|
|
}
|