//
// 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/BoxShape.h:19
///
/// BoxShapeSettings() = default
///
///
///
///
/// Default constructor for deserialization
///
///
[LibraryImport("jolt", EntryPoint = "BoxShapeSettings_Create")]
public static partial BoxShapeSettings BoxShapeSettings_Create();
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/BoxShape.h:23
///
/// explicit BoxShapeSettings(Vec3Arg inHalfExtent, float inConvexRadius = cDefaultConvexRadius, const PhysicsMaterial *inMaterial = nullptr)
///
///
///
///
/// Create a box with half edge length inHalfExtent and convex radius inConvexRadius.
/// (internally the convex radius will be subtracted from the half extent so the total box will not grow with the convex radius).
///
///
[LibraryImport("jolt", EntryPoint = "BoxShapeSettings_Create_2")]
public static partial BoxShapeSettings BoxShapeSettings_Create_2(float3 halfExtent, float convexRadius, PhysicsMaterial material);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/BoxShape.h:15
///
///
///
///
///
///
/// The returned handle is borrowed from its owner; don't Dispose it.
///
///
[LibraryImport("jolt", EntryPoint = "BoxShapeSettings_GetRTTI")]
public static partial RTTI BoxShapeSettings_GetRTTI(BoxShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/BoxShape.h:15
///
///
///
///
[LibraryImport("jolt", EntryPoint = "BoxShapeSettings_CastTo")]
public static partial void* BoxShapeSettings_CastTo(BoxShapeSettings self, RTTI rTTI);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/BoxShape.h:26
///
/// 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 = "BoxShapeSettings_CreateShape")]
public static partial Shape BoxShapeSettings_CreateShape(BoxShapeSettings self);
///
///
/// Half the size of the box (including convex radius)
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/BoxShape.h:28
///
/// Vec3 mHalfExtent = Vec3::sZero()
///
///
[LibraryImport("jolt", EntryPoint = "BoxShapeSettings_GetHalfExtent")]
public static partial float3 BoxShapeSettings_GetHalfExtent(BoxShapeSettings self);
///
///
/// Half the size of the box (including convex radius)
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/BoxShape.h:28
///
/// Vec3 mHalfExtent = Vec3::sZero()
///
///
[LibraryImport("jolt", EntryPoint = "BoxShapeSettings_SetHalfExtent")]
public static partial void BoxShapeSettings_SetHalfExtent(BoxShapeSettings self, float3 value);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/BoxShape.h:29
///
/// float mConvexRadius = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "BoxShapeSettings_GetConvexRadius")]
public static partial float BoxShapeSettings_GetConvexRadius(BoxShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/BoxShape.h:29
///
/// float mConvexRadius = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "BoxShapeSettings_SetConvexRadius")]
public static partial void BoxShapeSettings_SetConvexRadius(BoxShapeSettings self, float value);
[LibraryImport("jolt", EntryPoint = "BoxShapeSettings_AddRef")]
public static partial void BoxShapeSettings_AddRef(BoxShapeSettings self);
[LibraryImport("jolt", EntryPoint = "BoxShapeSettings_Release")]
public static partial void BoxShapeSettings_Release(BoxShapeSettings self);
[LibraryImport("jolt", EntryPoint = "BoxShapeSettings_GetRefCount")]
public static partial uint BoxShapeSettings_GetRefCount(BoxShapeSettings self);
[LibraryImport("jolt", EntryPoint = "BoxShapeSettings_AsConvexShapeSettings")]
public static partial ConvexShapeSettings BoxShapeSettings_AsConvexShapeSettings(BoxShapeSettings self);
[LibraryImport("jolt", EntryPoint = "BoxShapeSettings_AsShapeSettings")]
public static partial ShapeSettings BoxShapeSettings_AsShapeSettings(BoxShapeSettings self);
}
}
}