mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
64 lines
3.4 KiB
C#
64 lines
3.4 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/Constraints/TwoBodyConstraint.h#L17">Jolt/Physics/Constraints/TwoBodyConstraint.h:17</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 = "TwoBodyConstraintSettings_GetRTTI")]
|
|
public static partial RTTI TwoBodyConstraintSettings_GetRTTI(TwoBodyConstraintSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/TwoBodyConstraint.h#L17">Jolt/Physics/Constraints/TwoBodyConstraint.h:17</see>
|
|
/// <br/>
|
|
/// <c></c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "TwoBodyConstraintSettings_CastTo")]
|
|
public static partial void* TwoBodyConstraintSettings_CastTo(TwoBodyConstraintSettings self, RTTI rTTI);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/TwoBodyConstraint.h#L22">Jolt/Physics/Constraints/TwoBodyConstraint.h:22</see>
|
|
/// <br/>
|
|
/// <c>virtual TwoBodyConstraint * Create(Body &inBody1, Body &inBody2) const = 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Create an instance of this constraint
|
|
/// You can use Body::sFixedToWorld for inBody1 if you want to attach inBody2 to the world
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TwoBodyConstraintSettings_Create")]
|
|
public static partial TwoBodyConstraint TwoBodyConstraintSettings_Create(TwoBodyConstraintSettings self, Body body1, Body body2);
|
|
[LibraryImport("jolt", EntryPoint = "TwoBodyConstraintSettings_AddRef")]
|
|
public static partial void TwoBodyConstraintSettings_AddRef(TwoBodyConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "TwoBodyConstraintSettings_Release")]
|
|
public static partial void TwoBodyConstraintSettings_Release(TwoBodyConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "TwoBodyConstraintSettings_GetRefCount")]
|
|
public static partial uint TwoBodyConstraintSettings_GetRefCount(TwoBodyConstraintSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "TwoBodyConstraintSettings_AsConstraintSettings")]
|
|
public static partial ConstraintSettings TwoBodyConstraintSettings_AsConstraintSettings(TwoBodyConstraintSettings self);
|
|
}
|
|
}
|
|
}
|