AutoRig/Rig/DonorRig.cs

Simple data container for a donor rig used during auto-rigging. It holds a RigSkeleton, per-vertex SkinWeights, and the RigMesh that those weights belong to.

using AutoRig.Mesh;

namespace AutoRig.Rig;

/// <summary>
/// A rigged model loaded to serve as a transfer donor: its bind-pose skeleton,
/// per-vertex weights, and the mesh they belong to (all in one consistent space).
/// </summary>
public sealed class DonorRig
{
    public required RigSkeleton Skeleton { get; init; }
    public required SkinWeights Weights { get; init; }
    public required RigMesh Mesh { get; init; }
}