A simple value type representing a single bone's transform for a model animation frame. It stores Position (Vector3), Angle (Quaternion) and a uniform Scale (float).
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using HumanoidRetargeter.EditorTools.Embedded.ValveResourceFormat.Utils;
namespace HumanoidRetargeter.EditorTools.Embedded.ValveResourceFormat.ResourceTypes.ModelAnimation;
/// <summary>
/// Represents the transform of a bone in a single animation frame.
/// </summary>
public struct FrameBone
{
/// <summary>
/// Gets or sets the position of the bone.
/// </summary>
public global::System.Numerics.Vector3 Position { get; set; }
/// <summary>
/// Gets or sets the rotation of the bone.
/// </summary>
public global::System.Numerics.Quaternion Angle { get; set; }
/// <summary>
/// Gets or sets the scale of the bone.
/// </summary>
public float Scale { get; set; }
}