mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
70 lines
3.5 KiB
C#
70 lines
3.5 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
|
|
{
|
|
[LibraryImport("jolt", EntryPoint = "SkeletonMapper_Create")]
|
|
public static partial SkeletonMapper SkeletonMapper_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletonMapper.h#L68">Jolt/Skeleton/SkeletonMapper.h:68</see>
|
|
/// <br/>
|
|
/// <c>static bool sDefaultCanMapJoint(const Skeleton *inSkeleton1, int inIndex1, const Skeleton *inSkeleton2, int inIndex2)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Default function that checks if the names of the joints are equal
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SkeletonMapper_sDefaultCanMapJoint")]
|
|
public static partial Brutal.Bool8 SkeletonMapper_sDefaultCanMapJoint(Skeleton skeleton1, int index1, Skeleton skeleton2, int index2);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletonMapper.h#L115">Jolt/Skeleton/SkeletonMapper.h:115</see>
|
|
/// <br/>
|
|
/// <c>int GetMappedJointIdx(int inJoint1Idx) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Search through the directly mapped joints (mMappings) and find inJoint1Idx, returns the
|
|
/// corresponding Joint2Idx or -1 if not found.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SkeletonMapper_GetMappedJointIdx")]
|
|
public static partial int SkeletonMapper_GetMappedJointIdx(SkeletonMapper self, int joint1Idx);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletonMapper.h#L118">Jolt/Skeleton/SkeletonMapper.h:118</see>
|
|
/// <br/>
|
|
/// <c>bool IsJointTranslationLocked(int inJoint2Idx) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Search through the locked translations (mLockedTranslations) and find if joint inJoint2Idx is
|
|
/// locked.
|
|
/// </para>
|
|
/// </remarks>
|
|
[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);
|
|
}
|
|
}
|
|
}
|