//
// 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
{
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ConvexHullShape.h:23
///
/// ConvexHullShapeSettings() = default
///
///
///
///
/// Default constructor for deserialization
///
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_Create")]
public static partial ConvexHullShapeSettings ConvexHullShapeSettings_Create();
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ConvexHullShape.h:19
///
///
///
///
///
///
/// The returned handle is borrowed from its owner; don't Dispose it.
///
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_GetRTTI")]
public static partial RTTI ConvexHullShapeSettings_GetRTTI(ConvexHullShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ConvexHullShape.h:19
///
///
///
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_CastTo")]
public static partial void* ConvexHullShapeSettings_CastTo(ConvexHullShapeSettings self, RTTI rTTI);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ConvexHullShape.h:31
///
/// virtual ShapeResult Create() const override
///
///
///
///
/// See: ShapeSettings
///
///
/// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message.
///
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_CreateShape")]
public static partial Shape ConvexHullShapeSettings_CreateShape(ConvexHullShapeSettings self);
///
///
/// 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.
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ConvexHullShape.h:34
///
/// float mMaxConvexRadius = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_GetMaxConvexRadius")]
public static partial float ConvexHullShapeSettings_GetMaxConvexRadius(ConvexHullShapeSettings self);
///
///
/// 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.
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ConvexHullShape.h:34
///
/// float mMaxConvexRadius = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_SetMaxConvexRadius")]
public static partial void ConvexHullShapeSettings_SetMaxConvexRadius(ConvexHullShapeSettings self, float value);
///
///
/// Maximum distance between the shrunk hull + convex radius and the actual hull.
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ConvexHullShape.h:35
///
/// float mMaxErrorConvexRadius = 0.05f
///
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_GetMaxErrorConvexRadius")]
public static partial float ConvexHullShapeSettings_GetMaxErrorConvexRadius(ConvexHullShapeSettings self);
///
///
/// Maximum distance between the shrunk hull + convex radius and the actual hull.
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ConvexHullShape.h:35
///
/// float mMaxErrorConvexRadius = 0.05f
///
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_SetMaxErrorConvexRadius")]
public static partial void ConvexHullShapeSettings_SetMaxErrorConvexRadius(ConvexHullShapeSettings self, float value);
///
///
/// 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.
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ConvexHullShape.h:36
///
/// float mHullTolerance = 1.0e-3f
///
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShapeSettings_GetHullTolerance")]
public static partial float ConvexHullShapeSettings_GetHullTolerance(ConvexHullShapeSettings self);
///
///
/// 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.
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ConvexHullShape.h:36
///
/// float mHullTolerance = 1.0e-3f
///
///
[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);
}
}
}