MeshAttributeData constructor
MeshAttributeData(
- Float32List data, {
- required int components,
Implementation
MeshAttributeData(this.data, {required this.components}) {
if (components < 1 || components > 4) {
throw ArgumentError.value(
components,
'components',
'must be between 1 and 4',
);
}
}