mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-09-09 03:01:41 -04:00
30 lines
681 B
C#
30 lines
681 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Raylib_cs
|
|
{
|
|
/// <summary>Model animation</summary>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public struct ModelAnimation
|
|
{
|
|
/// <summary>
|
|
/// Number of bones
|
|
/// </summary>
|
|
public int boneCount;
|
|
|
|
/// <summary>
|
|
/// Number of animation frames
|
|
/// </summary>
|
|
public int frameCount;
|
|
|
|
/// <summary>
|
|
/// Bones information (skeleton, BoneInfo *)
|
|
/// </summary>
|
|
public IntPtr bones;
|
|
|
|
/// <summary>
|
|
/// Poses array by frame (Transform **)
|
|
/// </summary>
|
|
public IntPtr framePoses;
|
|
}
|
|
} |