Code/HumanoidRetargeter/Core/Formats/Mmd/MmdKeyframe.cs

A simple immutable record type representing a MMD keyframe. It stores the frame index, position, rotation, and a raw interpolation byte array used by MikuMikuDance format parsing or playback.

using System.Numerics;

namespace HumanoidRetargeter.Core.Formats.Mmd;

using Vector3 = System.Numerics.Vector3;

internal sealed record MmdKeyframe( int Frame, Vector3 Position, Quaternion Rotation, byte[] Interpolation );