mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
109 lines
5.7 KiB
C#
109 lines
5.7 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/EmptyShape.h#L18">Jolt/Physics/Collision/Shape/EmptyShape.h:18</see>
|
|
/// <br/>
|
|
/// <c>EmptyShapeSettings() = default</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShapeSettings_Create")]
|
|
public static partial EmptyShapeSettings EmptyShapeSettings_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L19">Jolt/Physics/Collision/Shape/EmptyShape.h:19</see>
|
|
/// <br/>
|
|
/// <c>explicit EmptyShapeSettings(Vec3Arg inCenterOfMass)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShapeSettings_Create_2")]
|
|
public static partial EmptyShapeSettings EmptyShapeSettings_Create_2(float3 centerOfMass);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L15">Jolt/Physics/Collision/Shape/EmptyShape.h:15</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 = "EmptyShapeSettings_GetRTTI")]
|
|
public static partial RTTI EmptyShapeSettings_GetRTTI(EmptyShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L15">Jolt/Physics/Collision/Shape/EmptyShape.h:15</see>
|
|
/// <br/>
|
|
/// <c></c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShapeSettings_CastTo")]
|
|
public static partial void* EmptyShapeSettings_CastTo(EmptyShapeSettings self, RTTI rTTI);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L21">Jolt/Physics/Collision/Shape/EmptyShape.h:21</see>
|
|
/// <br/>
|
|
/// <c>ShapeResult Create() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShapeSettings_CreateShape")]
|
|
public static partial Shape EmptyShapeSettings_CreateShape(EmptyShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Determines the center of mass for this shape
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L23">Jolt/Physics/Collision/Shape/EmptyShape.h:23</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mCenterOfMass = Vec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShapeSettings_GetCenterOfMass")]
|
|
public static partial float3 EmptyShapeSettings_GetCenterOfMass(EmptyShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Determines the center of mass for this shape
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/EmptyShape.h#L23">Jolt/Physics/Collision/Shape/EmptyShape.h:23</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mCenterOfMass = Vec3::sZero()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShapeSettings_SetCenterOfMass")]
|
|
public static partial void EmptyShapeSettings_SetCenterOfMass(EmptyShapeSettings self, float3 value);
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShapeSettings_AddRef")]
|
|
public static partial void EmptyShapeSettings_AddRef(EmptyShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShapeSettings_Release")]
|
|
public static partial void EmptyShapeSettings_Release(EmptyShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShapeSettings_GetRefCount")]
|
|
public static partial uint EmptyShapeSettings_GetRefCount(EmptyShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "EmptyShapeSettings_AsShapeSettings")]
|
|
public static partial ShapeSettings EmptyShapeSettings_AsShapeSettings(EmptyShapeSettings self);
|
|
}
|
|
}
|
|
}
|