brutal/brutal.jolt/Brutal.Jolt/Generated/PInvoke/SkeletonPose.gen.cs
2026-10-15 14:12:02 +13:00

141 lines
6.8 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 = "SkeletonPose_Create")]
public static partial SkeletonPose SkeletonPose_Create();
[LibraryImport("jolt", EntryPoint = "SkeletonPose_Destroy")]
public static partial void SkeletonPose_Destroy(SkeletonPose self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletonPose.h#L28">Jolt/Skeleton/SkeletonPose.h:28</see>
/// <br/>
/// <c>void SetSkeleton(const Skeleton *inSkeleton)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// @name Skeleton
/// @{
/// </code>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_SetSkeleton")]
public static partial void SkeletonPose_SetSkeleton(SkeletonPose self, Skeleton skeleton);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletonPose.h#L29">Jolt/Skeleton/SkeletonPose.h:29</see>
/// <br/>
/// <c>const Skeleton * GetSkeleton() const</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetSkeleton")]
public static partial Skeleton SkeletonPose_GetSkeleton(SkeletonPose self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletonPose.h#L33">Jolt/Skeleton/SkeletonPose.h:33</see>
/// <br/>
/// <c>void SetRootOffset(RVec3Arg inOffset)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extra offset applied to the root (and therefore also to all of its children)
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_SetRootOffset")]
public static partial void SkeletonPose_SetRootOffset(SkeletonPose self, float3 offset);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletonPose.h#L34">Jolt/Skeleton/SkeletonPose.h:34</see>
/// <br/>
/// <c>RVec3 GetRootOffset() const</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetRootOffset")]
public static partial float3 SkeletonPose_GetRootOffset(SkeletonPose self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletonPose.h#L38">Jolt/Skeleton/SkeletonPose.h:38</see>
/// <br/>
/// <c>uint GetJointCount() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// @name Properties of the joints
/// @{
/// </code>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetJointCount")]
public static partial uint SkeletonPose_GetJointCount(SkeletonPose self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletonPose.h#L49">Jolt/Skeleton/SkeletonPose.h:49</see>
/// <br/>
/// <c>const Mat44 &amp; GetJointMatrix(int inJoint) const</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetJointMatrix")]
public static partial float4x4 SkeletonPose_GetJointMatrix(SkeletonPose self, int joint);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletonPose.h#L54">Jolt/Skeleton/SkeletonPose.h:54</see>
/// <br/>
/// <c>void CalculateJointMatrices()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Convert the joint states to joint matrices
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_CalculateJointMatrices")]
public static partial void SkeletonPose_CalculateJointMatrices(SkeletonPose self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletonPose.h#L57">Jolt/Skeleton/SkeletonPose.h:57</see>
/// <br/>
/// <c>void CalculateJointStates()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Convert joint matrices to joint states
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_CalculateJointStates")]
public static partial void SkeletonPose_CalculateJointStates(SkeletonPose self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletonPose.h#L72">Jolt/Skeleton/SkeletonPose.h:72</see>
/// <br/>
/// <c>void Draw(const DrawSettings &amp;inDrawSettings, DebugRenderer *inRenderer, RMat44Arg inOffset = RMat44::sIdentity()) const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw current pose
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_Draw")]
public static partial void SkeletonPose_Draw(SkeletonPose self, ref SkeletonPose.DrawSettings drawSettings, DebugRenderer renderer, float4x4 offset);
}
}
}