mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
97 lines
4.7 KiB
C#
97 lines
4.7 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 = "Skeleton_Create")]
|
|
public static partial Skeleton Skeleton_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/Skeleton.h#L44">Jolt/Skeleton/Skeleton.h:44</see>
|
|
/// <br/>
|
|
/// <c>int GetJointCount() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "Skeleton_GetJointCount")]
|
|
public static partial int Skeleton_GetJointCount(Skeleton self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/Skeleton.h#L55">Jolt/Skeleton/Skeleton.h:55</see>
|
|
/// <br/>
|
|
/// <c>void CalculateParentJointIndices()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Fill in parent joint indices based on name
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "Skeleton_CalculateParentJointIndices")]
|
|
public static partial void Skeleton_CalculateParentJointIndices(Skeleton self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/Skeleton.h#L59">Jolt/Skeleton/Skeleton.h:59</see>
|
|
/// <br/>
|
|
/// <c>bool AreJointsCorrectlyOrdered() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Many of the algorithms that use the Skeleton class require that parent joints are in the mJoints array before their children.
|
|
/// This function returns true if this is the case, false if not.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "Skeleton_AreJointsCorrectlyOrdered")]
|
|
public static partial Brutal.Bool8 Skeleton_AreJointsCorrectlyOrdered(Skeleton self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/Skeleton.h#L62">Jolt/Skeleton/Skeleton.h:62</see>
|
|
/// <br/>
|
|
/// <c>void SaveBinaryState(StreamOut &inStream) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Saves the state of this object in binary form to inStream.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "Skeleton_SaveBinaryState")]
|
|
public static partial void Skeleton_SaveBinaryState(Skeleton self, StreamOut stream);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/Skeleton.h#L65">Jolt/Skeleton/Skeleton.h:65</see>
|
|
/// <br/>
|
|
/// <c>static SkeletonResult sRestoreFromBinaryState(StreamIn &inStream)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Restore the state of this object from inStream.
|
|
/// </para>
|
|
/// <para>
|
|
/// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "Skeleton_sRestoreFromBinaryState")]
|
|
public static partial Skeleton Skeleton_sRestoreFromBinaryState(StreamIn stream);
|
|
[LibraryImport("jolt", EntryPoint = "Skeleton_AddRef")]
|
|
public static partial void Skeleton_AddRef(Skeleton self);
|
|
[LibraryImport("jolt", EntryPoint = "Skeleton_Release")]
|
|
public static partial void Skeleton_Release(Skeleton self);
|
|
[LibraryImport("jolt", EntryPoint = "Skeleton_GetRefCount")]
|
|
public static partial uint Skeleton_GetRefCount(Skeleton self);
|
|
}
|
|
}
|
|
}
|