Editor/Core/RigProfiles/ReferenceSurface.cs

Data record for a stock skinned mesh in reference space. Holds vertex positions, triangle indices and per-vertex bone influences.

namespace HumanoidRigger.EditorTools.Core.RigProfiles;
using Vector3=System.Numerics.Vector3;

/// <summary>A stock skinned mesh in reference space. <see cref="Weights"/> index the reference armature.</summary>
public sealed record ReferenceSurface(Vector3[] Vertices,int[] Triangles,Influence[][] Weights);