//
// 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 = "SkeletonMapper_Create")]
public static partial SkeletonMapper SkeletonMapper_Create();
///
///
/// C++:
/// Jolt/Skeleton/SkeletonMapper.h:68
///
/// static bool sDefaultCanMapJoint(const Skeleton *inSkeleton1, int inIndex1, const Skeleton *inSkeleton2, int inIndex2)
///
///
///
///
/// Default function that checks if the names of the joints are equal
///
///
[LibraryImport("jolt", EntryPoint = "SkeletonMapper_sDefaultCanMapJoint")]
public static partial Brutal.Bool8 SkeletonMapper_sDefaultCanMapJoint(Skeleton skeleton1, int index1, Skeleton skeleton2, int index2);
///
///
/// C++:
/// Jolt/Skeleton/SkeletonMapper.h:115
///
/// int GetMappedJointIdx(int inJoint1Idx) const
///
///
///
///
/// Search through the directly mapped joints (mMappings) and find inJoint1Idx, returns the
/// corresponding Joint2Idx or -1 if not found.
///
///
[LibraryImport("jolt", EntryPoint = "SkeletonMapper_GetMappedJointIdx")]
public static partial int SkeletonMapper_GetMappedJointIdx(SkeletonMapper self, int joint1Idx);
///
///
/// C++:
/// Jolt/Skeleton/SkeletonMapper.h:118
///
/// bool IsJointTranslationLocked(int inJoint2Idx) const
///
///
///
///
/// Search through the locked translations (mLockedTranslations) and find if joint inJoint2Idx is
/// locked.
///
///
[LibraryImport("jolt", EntryPoint = "SkeletonMapper_IsJointTranslationLocked")]
public static partial Brutal.Bool8 SkeletonMapper_IsJointTranslationLocked(SkeletonMapper self, int joint2Idx);
[LibraryImport("jolt", EntryPoint = "SkeletonMapper_AddRef")]
public static partial void SkeletonMapper_AddRef(SkeletonMapper self);
[LibraryImport("jolt", EntryPoint = "SkeletonMapper_Release")]
public static partial void SkeletonMapper_Release(SkeletonMapper self);
[LibraryImport("jolt", EntryPoint = "SkeletonMapper_GetRefCount")]
public static partial uint SkeletonMapper_GetRefCount(SkeletonMapper self);
}
}
}