mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +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,44 @@
|
|||
// <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/Body/BodyLockInterface.h#L16">Jolt/Physics/Body/BodyLockInterface.h:16</see>
|
||||
/// <br/>
|
||||
/// <c>class BodyLockInterface : public NonCopyable</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Base class interface for locking a body. Usually you will use BodyLockRead / BodyLockWrite /
|
||||
/// BodyLockMultiRead / BodyLockMultiWrite instead.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct BodyLockInterface
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyLockInterface.h#L50">Jolt/Physics/Body/BodyLockInterface.h:50</see>
|
||||
/// <br/>
|
||||
/// <c>inline Body * TryGetBody(const BodyID &inBodyID) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Convert body ID to body
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The returned handle is borrowed from its owner; don't Dispose it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public Body TryGetBody(uint bodyID) => Jolt.PInvoke.BodyLockInterface_TryGetBody(this, bodyID);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue