//
// 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
{
///
[LibraryImport("jolt", EntryPoint = "CharacterContactKey_Create")]
public static partial void CharacterContactKey_Create(out CharacterContactKey outResult);
///
[LibraryImport("jolt", EntryPoint = "CharacterContactKey_Create_2")]
public static partial void CharacterContactKey_Create_2(
uint bodyB,
uint subShapeID,
out CharacterContactKey outResult
);
///
///
/// Checks if two contacts refer to the same body (or virtual character)
///
///
/// C++:
/// Jolt/Physics/Character/CharacterVirtual.h:96
///
/// inline bool IsSameBody(const CharacterContactKey &inOther) const
///
///
[LibraryImport("jolt", EntryPoint = "CharacterContactKey_IsSameBody")]
public static partial Brutal.Bool8 CharacterContactKey_IsSameBody(
ref CharacterContactKey self,
in CharacterContactKey other
);
///
///
/// Hash of this structure
///
///
/// C++:
/// Jolt/Physics/Character/CharacterVirtual.h:113
///
/// inline uint64 GetHash() const
///
///
[LibraryImport("jolt", EntryPoint = "CharacterContactKey_GetHash")]
public static partial ulong CharacterContactKey_GetHash(ref CharacterContactKey self);
///
///
/// Saving / restoring state for replay
///
///
/// C++:
/// Jolt/Physics/Character/CharacterVirtual.h:120
///
/// void SaveState(StateRecorder &inStream) const
///
///
[LibraryImport("jolt", EntryPoint = "CharacterContactKey_SaveState")]
public static partial void CharacterContactKey_SaveState(
ref CharacterContactKey self,
StateRecorder stream
);
///
///
/// C++:
/// Jolt/Physics/Character/CharacterVirtual.h:121
///
/// void RestoreState(StateRecorder &inStream)
///
///
[LibraryImport("jolt", EntryPoint = "CharacterContactKey_RestoreState")]
public static partial void CharacterContactKey_RestoreState(
ref CharacterContactKey self,
StateRecorder stream
);
}
}
}