A record type in the editor tooling that stores per-bone motion stats: bone index, max translation, max rotation in degrees, main direction, and the clip/frame where the peak occurs. No logic, just a data holder.
#nullable enable annotations using System.Numerics; using WeaponImporter.EditorTools.Core.Geometry; using WeaponImporter.EditorTools.Core.Weapon; namespace WeaponImporter.EditorTools.Core.Analysis; using Vector3 = System.Numerics.Vector3; /// <summary>Per-bone motion over all clips, relative to the parent bone.</summary> public sealed record BoneMotion(int Bone, float MaxTranslation, float MaxRotationDeg, Vector3 MainDirection, string PeakClip, int PeakFrame);