mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-07-02 19:13:43 -04:00
Port to Raylib-5.0.0 (#210)
Co-authored-by: ChrisDill <chris.rj.dill@gmail.com>
This commit is contained in:
@ -79,7 +79,7 @@ public unsafe partial struct Model
|
||||
/// Model animation
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public readonly unsafe partial struct ModelAnimation
|
||||
public unsafe partial struct ModelAnimation
|
||||
{
|
||||
/// <summary>
|
||||
/// Number of bones
|
||||
@ -104,6 +104,11 @@ public readonly unsafe partial struct ModelAnimation
|
||||
/// </summary>
|
||||
public readonly Transform** FramePoses;
|
||||
|
||||
/// <summary>
|
||||
/// Animation name (char[32])
|
||||
/// </summary>
|
||||
public fixed sbyte Name[32];
|
||||
|
||||
/// <inheritdoc cref="FramePoses"/>
|
||||
public FramePosesCollection FramePosesColl => new(FramePoses, FrameCount, BoneCount);
|
||||
|
||||
|
Reference in New Issue
Block a user