//
// 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 = "SkeletonPose_Create")]
public static partial SkeletonPose SkeletonPose_Create();
[LibraryImport("jolt", EntryPoint = "SkeletonPose_Destroy")]
public static partial void SkeletonPose_Destroy(SkeletonPose self);
///
///
/// C++:
/// Jolt/Skeleton/SkeletonPose.h:28
///
/// void SetSkeleton(const Skeleton *inSkeleton)
///
///
///
///
/// @name Skeleton
/// @{
///
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_SetSkeleton")]
public static partial void SkeletonPose_SetSkeleton(SkeletonPose self, Skeleton skeleton);
///
///
/// C++:
/// Jolt/Skeleton/SkeletonPose.h:29
///
/// const Skeleton * GetSkeleton() const
///
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetSkeleton")]
public static partial Skeleton SkeletonPose_GetSkeleton(SkeletonPose self);
///
///
/// C++:
/// Jolt/Skeleton/SkeletonPose.h:33
///
/// void SetRootOffset(RVec3Arg inOffset)
///
///
///
///
/// Extra offset applied to the root (and therefore also to all of its children)
///
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_SetRootOffset")]
public static partial void SkeletonPose_SetRootOffset(SkeletonPose self, float3 offset);
///
///
/// C++:
/// Jolt/Skeleton/SkeletonPose.h:34
///
/// RVec3 GetRootOffset() const
///
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetRootOffset")]
public static partial float3 SkeletonPose_GetRootOffset(SkeletonPose self);
///
///
/// C++:
/// Jolt/Skeleton/SkeletonPose.h:38
///
/// uint GetJointCount() const
///
///
///
///
/// @name Properties of the joints
/// @{
///
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetJointCount")]
public static partial uint SkeletonPose_GetJointCount(SkeletonPose self);
///
///
/// C++:
/// Jolt/Skeleton/SkeletonPose.h:49
///
/// const Mat44 & GetJointMatrix(int inJoint) const
///
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetJointMatrix")]
public static partial float4x4 SkeletonPose_GetJointMatrix(SkeletonPose self, int joint);
///
///
/// C++:
/// Jolt/Skeleton/SkeletonPose.h:54
///
/// void CalculateJointMatrices()
///
///
///
///
/// Convert the joint states to joint matrices
///
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_CalculateJointMatrices")]
public static partial void SkeletonPose_CalculateJointMatrices(SkeletonPose self);
///
///
/// C++:
/// Jolt/Skeleton/SkeletonPose.h:57
///
/// void CalculateJointStates()
///
///
///
///
/// Convert joint matrices to joint states
///
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_CalculateJointStates")]
public static partial void SkeletonPose_CalculateJointStates(SkeletonPose self);
///
///
/// C++:
/// Jolt/Skeleton/SkeletonPose.h:72
///
/// void Draw(const DrawSettings &inDrawSettings, DebugRenderer *inRenderer, RMat44Arg inOffset = RMat44::sIdentity()) const
///
///
///
///
/// Draw current pose
///
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_Draw")]
public static partial void SkeletonPose_Draw(SkeletonPose self, ref SkeletonPose.DrawSettings drawSettings, DebugRenderer renderer, float4x4 offset);
}
}
}