//
// 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/ConvexShape.h:19
///
///
///
///
///
///
/// The returned handle is borrowed from its owner; don't Dispose it.
///
///
[LibraryImport("jolt", EntryPoint = "ConvexShapeSettings_GetRTTI")]
public static partial RTTI ConvexShapeSettings_GetRTTI(ConvexShapeSettings self);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ConvexShape.h:19
///
///
///
///
[LibraryImport("jolt", EntryPoint = "ConvexShapeSettings_CastTo")]
public static partial void* ConvexShapeSettings_CastTo(ConvexShapeSettings self, RTTI rTTI);
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ConvexShape.h:27
///
/// void SetDensity(float inDensity)
///
///
///
///
/// Set the density of the object in kg / m^3
///
///
[LibraryImport("jolt", EntryPoint = "ConvexShapeSettings_SetDensity")]
public static partial void ConvexShapeSettings_SetDensity(ConvexShapeSettings self, float density);
///
///
/// Material assigned to this shape
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ConvexShape.h:30
///
/// RefConst<PhysicsMaterial> mMaterial
///
///
///
///
/// Properties
///
///
[LibraryImport("jolt", EntryPoint = "ConvexShapeSettings_GetMaterial")]
public static partial PhysicsMaterial ConvexShapeSettings_GetMaterial(ConvexShapeSettings self);
///
///
/// Material assigned to this shape
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ConvexShape.h:30
///
/// RefConst<PhysicsMaterial> mMaterial
///
///
///
///
/// Properties
///
///
[LibraryImport("jolt", EntryPoint = "ConvexShapeSettings_SetMaterial")]
public static partial void ConvexShapeSettings_SetMaterial(ConvexShapeSettings self, PhysicsMaterial value);
///
///
/// Uniform density of the interior of the convex object (kg / m^3)
///
///
/// C++:
/// Jolt/Physics/Collision/Shape/ConvexShape.h:31
///
/// float mDensity = 1000.0f
///
///
[LibraryImport("jolt", EntryPoint = "ConvexShapeSettings_GetDensity")]
public static partial float ConvexShapeSettings_GetDensity(ConvexShapeSettings self);
[LibraryImport("jolt", EntryPoint = "ConvexShapeSettings_AddRef")]
public static partial void ConvexShapeSettings_AddRef(ConvexShapeSettings self);
[LibraryImport("jolt", EntryPoint = "ConvexShapeSettings_Release")]
public static partial void ConvexShapeSettings_Release(ConvexShapeSettings self);
[LibraryImport("jolt", EntryPoint = "ConvexShapeSettings_GetRefCount")]
public static partial uint ConvexShapeSettings_GetRefCount(ConvexShapeSettings self);
[LibraryImport("jolt", EntryPoint = "ConvexShapeSettings_AsShapeSettings")]
public static partial ShapeSettings ConvexShapeSettings_AsShapeSettings(ConvexShapeSettings self);
}
}
}