ModelSkin constructor
ModelSkin({})
Implementation
ModelSkin({
required List<int> joints,
required this.inverseBindMatrices,
this.skeletonRoot,
this.name,
}) : joints = List.unmodifiable(joints) {
if (inverseBindMatrices.length != joints.length) {
throw ArgumentError(
'Skin "${name ?? 'unnamed'}" has ${joints.length} joints but '
'${inverseBindMatrices.length} inverse bind matrices.',
);
}
}