brutal/Brutal.Jolt/Generated/PInvoke/CharacterContactKey.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

89 lines
3.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
{
/// <inheritdoc cref="CharacterContactKey.Create()"/>
[LibraryImport("jolt", EntryPoint = "CharacterContactKey_Create")]
public static partial void CharacterContactKey_Create(out CharacterContactKey outResult);
/// <inheritdoc cref="CharacterContactKey.Create(uint, uint)"/>
[LibraryImport("jolt", EntryPoint = "CharacterContactKey_Create_2")]
public static partial void CharacterContactKey_Create_2(
uint bodyB,
uint subShapeID,
out CharacterContactKey outResult
);
/// <summary>
/// <para>
/// Checks if two contacts refer to the same body (or virtual character)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Character/CharacterVirtual.h#L96">Jolt/Physics/Character/CharacterVirtual.h:96</see>
/// <br/>
/// <c>inline bool IsSameBody(const CharacterContactKey &amp;inOther) const</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "CharacterContactKey_IsSameBody")]
public static partial Brutal.Bool8 CharacterContactKey_IsSameBody(
ref CharacterContactKey self,
in CharacterContactKey other
);
/// <summary>
/// <para>
/// Hash of this structure
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Character/CharacterVirtual.h#L113">Jolt/Physics/Character/CharacterVirtual.h:113</see>
/// <br/>
/// <c>inline uint64 GetHash() const</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "CharacterContactKey_GetHash")]
public static partial ulong CharacterContactKey_GetHash(ref CharacterContactKey self);
/// <summary>
/// <para>
/// Saving / restoring state for replay
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Character/CharacterVirtual.h#L120">Jolt/Physics/Character/CharacterVirtual.h:120</see>
/// <br/>
/// <c>void SaveState(StateRecorder &amp;inStream) const</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "CharacterContactKey_SaveState")]
public static partial void CharacterContactKey_SaveState(
ref CharacterContactKey self,
StateRecorder stream
);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Character/CharacterVirtual.h#L121">Jolt/Physics/Character/CharacterVirtual.h:121</see>
/// <br/>
/// <c>void RestoreState(StateRecorder &amp;inStream)</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "CharacterContactKey_RestoreState")]
public static partial void CharacterContactKey_RestoreState(
ref CharacterContactKey self,
StateRecorder stream
);
}
}
}