mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,127 @@
|
|||
// <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 = "SkeletalAnimation_Create")]
|
||||
public static partial SkeletalAnimation SkeletalAnimation_Create();
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletalAnimation.h#L62">Jolt/Skeleton/SkeletalAnimation.h:62</see>
|
||||
/// <br/>
|
||||
/// <c>float GetDuration() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Get the length (in seconds) of this animation
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "SkeletalAnimation_GetDuration")]
|
||||
public static partial float SkeletalAnimation_GetDuration(SkeletalAnimation self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletalAnimation.h#L65">Jolt/Skeleton/SkeletalAnimation.h:65</see>
|
||||
/// <br/>
|
||||
/// <c>void ScaleJoints(float inScale)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Scale the size of all joints by inScale
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "SkeletalAnimation_ScaleJoints")]
|
||||
public static partial void SkeletalAnimation_ScaleJoints(SkeletalAnimation self, float scale);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletalAnimation.h#L68">Jolt/Skeleton/SkeletalAnimation.h:68</see>
|
||||
/// <br/>
|
||||
/// <c>void SetIsLooping(bool inIsLooping)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// If the animation is looping or not. If an animation is looping, the animation will continue playing
|
||||
/// after completion
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "SkeletalAnimation_SetIsLooping")]
|
||||
public static partial void SkeletalAnimation_SetIsLooping(SkeletalAnimation self, Brutal.Bool8 isLooping);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletalAnimation.h#L69">Jolt/Skeleton/SkeletalAnimation.h:69</see>
|
||||
/// <br/>
|
||||
/// <c>bool IsLooping() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "SkeletalAnimation_IsLooping")]
|
||||
public static partial Brutal.Bool8 SkeletalAnimation_IsLooping(SkeletalAnimation self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletalAnimation.h#L72">Jolt/Skeleton/SkeletalAnimation.h:72</see>
|
||||
/// <br/>
|
||||
/// <c>void Sample(float inTime, SkeletonPose &ioPose) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Get the (interpolated) joint transforms at time inTime
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "SkeletalAnimation_Sample")]
|
||||
public static partial void SkeletalAnimation_Sample(SkeletalAnimation self, float time, SkeletonPose pose);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletalAnimation.h#L79">Jolt/Skeleton/SkeletalAnimation.h:79</see>
|
||||
/// <br/>
|
||||
/// <c>void SaveBinaryState(StreamOut &inStream) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Saves the state of this animation in binary form to inStream.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "SkeletalAnimation_SaveBinaryState")]
|
||||
public static partial void SkeletalAnimation_SaveBinaryState(SkeletalAnimation self, StreamOut stream);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Skeleton/SkeletalAnimation.h#L84">Jolt/Skeleton/SkeletalAnimation.h:84</see>
|
||||
/// <br/>
|
||||
/// <c>static AnimationResult sRestoreFromBinaryState(StreamIn &inStream)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Restore a saved ragdoll 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 = "SkeletalAnimation_sRestoreFromBinaryState")]
|
||||
public static partial SkeletalAnimation SkeletalAnimation_sRestoreFromBinaryState(StreamIn stream);
|
||||
[LibraryImport("jolt", EntryPoint = "SkeletalAnimation_AddRef")]
|
||||
public static partial void SkeletalAnimation_AddRef(SkeletalAnimation self);
|
||||
[LibraryImport("jolt", EntryPoint = "SkeletalAnimation_Release")]
|
||||
public static partial void SkeletalAnimation_Release(SkeletalAnimation self);
|
||||
[LibraryImport("jolt", EntryPoint = "SkeletalAnimation_GetRefCount")]
|
||||
public static partial uint SkeletalAnimation_GetRefCount(SkeletalAnimation self);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue