mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 21:48:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,73 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Constraints/TwoBodyConstraint.h#L15">Jolt/Physics/Constraints/TwoBodyConstraint.h:15</see>
|
||||
/// <br/>
|
||||
/// <c>class TwoBodyConstraintSettings : public ConstraintSettings</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Base class for settings for all constraints that involve 2 bodies
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct TwoBodyConstraintSettings : IDisposable
|
||||
{
|
||||
/// <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>
|
||||
public RTTI GetRTTI() => Jolt.PInvoke.TwoBodyConstraintSettings_GetRTTI(this);
|
||||
/// <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>
|
||||
public unsafe Ptr CastTo(RTTI rTTI) => Jolt.PInvoke.TwoBodyConstraintSettings_CastTo(this, 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>
|
||||
public TwoBodyConstraint Create(Body body1, Body body2) => Jolt.PInvoke.TwoBodyConstraintSettings_Create(this, body1, body2);
|
||||
public void AddRef() => Jolt.PInvoke.TwoBodyConstraintSettings_AddRef(this);
|
||||
public void Release() => Jolt.PInvoke.TwoBodyConstraintSettings_Release(this);
|
||||
public uint GetRefCount() => Jolt.PInvoke.TwoBodyConstraintSettings_GetRefCount(this);
|
||||
public static implicit operator ConstraintSettings(TwoBodyConstraintSettings value) => Jolt.PInvoke.TwoBodyConstraintSettings_AsConstraintSettings(value);
|
||||
public void Dispose()
|
||||
{
|
||||
if (IsNull()) return;
|
||||
Release();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue