mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
165 lines
9.5 KiB
C#
165 lines
9.5 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/ConvexHullShape.h#L23">Jolt/Physics/Collision/Shape/ConvexHullShape.h:23</see>
|
|
/// <br/>
|
|
/// <c>ConvexHullShapeSettings() = default</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Default constructor for deserialization
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_Create")]
|
|
public static partial ConvexHullShapeSettings ConvexHullShapeSettings_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexHullShape.h#L19">Jolt/Physics/Collision/Shape/ConvexHullShape.h:19</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 = "ConvexHullShapeSettings_GetRTTI")]
|
|
public static partial RTTI ConvexHullShapeSettings_GetRTTI(ConvexHullShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexHullShape.h#L19">Jolt/Physics/Collision/Shape/ConvexHullShape.h:19</see>
|
|
/// <br/>
|
|
/// <c></c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_CastTo")]
|
|
public static partial void* ConvexHullShapeSettings_CastTo(ConvexHullShapeSettings self, RTTI rTTI);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexHullShape.h#L31">Jolt/Physics/Collision/Shape/ConvexHullShape.h:31</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 = "ConvexHullShapeSettings_CreateShape")]
|
|
public static partial Shape ConvexHullShapeSettings_CreateShape(ConvexHullShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Convex radius as supplied by the constructor. Note that during hull creation the convex radius can
|
|
/// be made smaller if the value is too big for the hull.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexHullShape.h#L34">Jolt/Physics/Collision/Shape/ConvexHullShape.h:34</see>
|
|
/// <br/>
|
|
/// <c>float mMaxConvexRadius = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_GetMaxConvexRadius")]
|
|
public static partial float ConvexHullShapeSettings_GetMaxConvexRadius(ConvexHullShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Convex radius as supplied by the constructor. Note that during hull creation the convex radius can
|
|
/// be made smaller if the value is too big for the hull.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexHullShape.h#L34">Jolt/Physics/Collision/Shape/ConvexHullShape.h:34</see>
|
|
/// <br/>
|
|
/// <c>float mMaxConvexRadius = 0.0f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_SetMaxConvexRadius")]
|
|
public static partial void ConvexHullShapeSettings_SetMaxConvexRadius(ConvexHullShapeSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Maximum distance between the shrunk hull + convex radius and the actual hull.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexHullShape.h#L35">Jolt/Physics/Collision/Shape/ConvexHullShape.h:35</see>
|
|
/// <br/>
|
|
/// <c>float mMaxErrorConvexRadius = 0.05f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_GetMaxErrorConvexRadius")]
|
|
public static partial float ConvexHullShapeSettings_GetMaxErrorConvexRadius(ConvexHullShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Maximum distance between the shrunk hull + convex radius and the actual hull.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexHullShape.h#L35">Jolt/Physics/Collision/Shape/ConvexHullShape.h:35</see>
|
|
/// <br/>
|
|
/// <c>float mMaxErrorConvexRadius = 0.05f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_SetMaxErrorConvexRadius")]
|
|
public static partial void ConvexHullShapeSettings_SetMaxErrorConvexRadius(ConvexHullShapeSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Points are allowed this far outside of the hull (increasing this yields a hull with less vertices).
|
|
/// Note that the actual used value can be larger if the points of the hull are far apart.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexHullShape.h#L36">Jolt/Physics/Collision/Shape/ConvexHullShape.h:36</see>
|
|
/// <br/>
|
|
/// <c>float mHullTolerance = 1.0e-3f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_GetHullTolerance")]
|
|
public static partial float ConvexHullShapeSettings_GetHullTolerance(ConvexHullShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Points are allowed this far outside of the hull (increasing this yields a hull with less vertices).
|
|
/// Note that the actual used value can be larger if the points of the hull are far apart.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexHullShape.h#L36">Jolt/Physics/Collision/Shape/ConvexHullShape.h:36</see>
|
|
/// <br/>
|
|
/// <c>float mHullTolerance = 1.0e-3f</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_SetHullTolerance")]
|
|
public static partial void ConvexHullShapeSettings_SetHullTolerance(ConvexHullShapeSettings self, float value);
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_AddRef")]
|
|
public static partial void ConvexHullShapeSettings_AddRef(ConvexHullShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_Release")]
|
|
public static partial void ConvexHullShapeSettings_Release(ConvexHullShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_GetRefCount")]
|
|
public static partial uint ConvexHullShapeSettings_GetRefCount(ConvexHullShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_AsConvexShapeSettings")]
|
|
public static partial ConvexShapeSettings ConvexHullShapeSettings_AsConvexShapeSettings(ConvexHullShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_AsShapeSettings")]
|
|
public static partial ShapeSettings ConvexHullShapeSettings_AsShapeSettings(ConvexHullShapeSettings self);
|
|
}
|
|
}
|
|
}
|