brutal/brutal.jolt/Brutal.Jolt/Generated/PInvoke/ConvexShapeSettings.gen.cs
2026-10-15 14:12:02 +13:00

112 lines
5.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/ConvexShape.h#L19">Jolt/Physics/Collision/Shape/ConvexShape.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 = "ConvexShapeSettings_GetRTTI")]
public static partial RTTI ConvexShapeSettings_GetRTTI(ConvexShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L19">Jolt/Physics/Collision/Shape/ConvexShape.h:19</see>
/// <br/>
/// <c></c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "ConvexShapeSettings_CastTo")]
public static partial void* ConvexShapeSettings_CastTo(ConvexShapeSettings self, RTTI rTTI);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L27">Jolt/Physics/Collision/Shape/ConvexShape.h:27</see>
/// <br/>
/// <c>void SetDensity(float inDensity)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Set the density of the object in kg / m^3
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ConvexShapeSettings_SetDensity")]
public static partial void ConvexShapeSettings_SetDensity(ConvexShapeSettings self, float density);
/// <summary>
/// <para>
/// Material assigned to this shape
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L30">Jolt/Physics/Collision/Shape/ConvexShape.h:30</see>
/// <br/>
/// <c>RefConst&lt;PhysicsMaterial&gt; mMaterial</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Properties
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ConvexShapeSettings_GetMaterial")]
public static partial PhysicsMaterial ConvexShapeSettings_GetMaterial(ConvexShapeSettings self);
/// <summary>
/// <para>
/// Material assigned to this shape
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L30">Jolt/Physics/Collision/Shape/ConvexShape.h:30</see>
/// <br/>
/// <c>RefConst&lt;PhysicsMaterial&gt; mMaterial</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Properties
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ConvexShapeSettings_SetMaterial")]
public static partial void ConvexShapeSettings_SetMaterial(ConvexShapeSettings self, PhysicsMaterial value);
/// <summary>
/// <para>
/// Uniform density of the interior of the convex object (kg / m^3)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L31">Jolt/Physics/Collision/Shape/ConvexShape.h:31</see>
/// <br/>
/// <c>float mDensity = 1000.0f</c>
/// </para>
/// </summary>
[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);
}
}
}