mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
139 lines
7.9 KiB
C#
139 lines
7.9 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/OffsetCenterOfMassShape.h#L20">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:20</see>
|
|
/// <br/>
|
|
/// <c>OffsetCenterOfMassShapeSettings() = default</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Constructor
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_Create")]
|
|
public static partial OffsetCenterOfMassShapeSettings OffsetCenterOfMassShapeSettings_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L23">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:23</see>
|
|
/// <br/>
|
|
/// <c>OffsetCenterOfMassShapeSettings(Vec3Arg inOffset, const ShapeSettings *inShape)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Construct with shape settings, can be serialized.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_Create_2")]
|
|
public static partial OffsetCenterOfMassShapeSettings OffsetCenterOfMassShapeSettings_Create_2(float3 offset, ShapeSettings shape);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L26">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:26</see>
|
|
/// <br/>
|
|
/// <c>OffsetCenterOfMassShapeSettings(Vec3Arg inOffset, const Shape *inShape)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Variant that uses a concrete shape, which means this object cannot be serialized.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_Create_3")]
|
|
public static partial OffsetCenterOfMassShapeSettings OffsetCenterOfMassShapeSettings_Create_3(float3 offset, Shape shape);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L16">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:16</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 = "OffsetCenterOfMassShapeSettings_GetRTTI")]
|
|
public static partial RTTI OffsetCenterOfMassShapeSettings_GetRTTI(OffsetCenterOfMassShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L16">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:16</see>
|
|
/// <br/>
|
|
/// <c></c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_CastTo")]
|
|
public static partial void* OffsetCenterOfMassShapeSettings_CastTo(OffsetCenterOfMassShapeSettings self, RTTI rTTI);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L29">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:29</see>
|
|
/// <br/>
|
|
/// <c>virtual ShapeResult Create() const override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See: ShapeSettings
|
|
/// </para>
|
|
/// <para>
|
|
/// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_CreateShape")]
|
|
public static partial Shape OffsetCenterOfMassShapeSettings_CreateShape(OffsetCenterOfMassShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Offset to be applied to the center of mass of the child shape
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L31">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:31</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_GetOffset")]
|
|
public static partial float3 OffsetCenterOfMassShapeSettings_GetOffset(OffsetCenterOfMassShapeSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// Offset to be applied to the center of mass of the child shape
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h#L31">Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h:31</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_SetOffset")]
|
|
public static partial void OffsetCenterOfMassShapeSettings_SetOffset(OffsetCenterOfMassShapeSettings self, float3 value);
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_AddRef")]
|
|
public static partial void OffsetCenterOfMassShapeSettings_AddRef(OffsetCenterOfMassShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_Release")]
|
|
public static partial void OffsetCenterOfMassShapeSettings_Release(OffsetCenterOfMassShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_GetRefCount")]
|
|
public static partial uint OffsetCenterOfMassShapeSettings_GetRefCount(OffsetCenterOfMassShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_AsDecoratedShapeSettings")]
|
|
public static partial DecoratedShapeSettings OffsetCenterOfMassShapeSettings_AsDecoratedShapeSettings(OffsetCenterOfMassShapeSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "OffsetCenterOfMassShapeSettings_AsShapeSettings")]
|
|
public static partial ShapeSettings OffsetCenterOfMassShapeSettings_AsShapeSettings(OffsetCenterOfMassShapeSettings self);
|
|
}
|
|
}
|
|
}
|