mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 22:18: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,95 @@
|
|||
// <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/Collision/Shape/SubShapeIDPair.h#L14">Jolt/Physics/Collision/Shape/SubShapeIDPair.h:14</see>
|
||||
/// <br/>
|
||||
/// <c>class SubShapeIDPair</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// A pair of bodies and their sub shape ID's. Can be used as a key in a map to find a contact point.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct SubShapeIDPair : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/SubShapeIDPair.h#L20">Jolt/Physics/Collision/Shape/SubShapeIDPair.h:20</see>
|
||||
/// <br/>
|
||||
/// <c>SubShapeIDPair() = default</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Constructor
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static SubShapeIDPair Create() => Jolt.PInvoke.SubShapeIDPair_Create();
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/SubShapeIDPair.h#L21">Jolt/Physics/Collision/Shape/SubShapeIDPair.h:21</see>
|
||||
/// <br/>
|
||||
/// <c>SubShapeIDPair(const BodyID &inBody1ID, const SubShapeID &inSubShapeID1, const BodyID &inBody2ID, const SubShapeID &inSubShapeID2)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static SubShapeIDPair Create(uint body1ID, uint subShapeID1, uint body2ID, uint subShapeID2) => Jolt.PInvoke.SubShapeIDPair_Create_2(body1ID, subShapeID1, body2ID, subShapeID2);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/SubShapeIDPair.h#L46">Jolt/Physics/Collision/Shape/SubShapeIDPair.h:46</see>
|
||||
/// <br/>
|
||||
/// <c>const BodyID & GetBody1ID() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public uint GetBody1ID() => Jolt.PInvoke.SubShapeIDPair_GetBody1ID(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/SubShapeIDPair.h#L47">Jolt/Physics/Collision/Shape/SubShapeIDPair.h:47</see>
|
||||
/// <br/>
|
||||
/// <c>const SubShapeID & GetSubShapeID1() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public uint GetSubShapeID1() => Jolt.PInvoke.SubShapeIDPair_GetSubShapeID1(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/SubShapeIDPair.h#L48">Jolt/Physics/Collision/Shape/SubShapeIDPair.h:48</see>
|
||||
/// <br/>
|
||||
/// <c>const BodyID & GetBody2ID() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public uint GetBody2ID() => Jolt.PInvoke.SubShapeIDPair_GetBody2ID(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/SubShapeIDPair.h#L49">Jolt/Physics/Collision/Shape/SubShapeIDPair.h:49</see>
|
||||
/// <br/>
|
||||
/// <c>const SubShapeID & GetSubShapeID2() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public uint GetSubShapeID2() => Jolt.PInvoke.SubShapeIDPair_GetSubShapeID2(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/SubShapeIDPair.h#L51">Jolt/Physics/Collision/Shape/SubShapeIDPair.h:51</see>
|
||||
/// <br/>
|
||||
/// <c>uint64 GetHash() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ulong GetHash() => Jolt.PInvoke.SubShapeIDPair_GetHash(this);
|
||||
public void Dispose() => Jolt.PInvoke.SubShapeIDPair_Destroy(this);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue