MorphBuffers constructor

MorphBuffers({
  1. List<double>? vertex,
  2. List<double>? normal,
  3. List<double>? colors,
  4. List<List<double>>? uvs,
  5. List<int>? materialIndex,
  6. List<double>? vertexWeights,
  7. List<int>? weightsIndices,
})

Implementation

MorphBuffers({
  List<double>? vertex,
  List<double>? normal,
  List<double>? colors,
  List<List<double>>? uvs,
  List<int>? materialIndex,
  List<double>? vertexWeights,
  List<int>? weightsIndices,
}){
  this.vertex = vertex ?? [];
  this.normal = normal ?? [];
  this.colors = colors ?? [];
  this.uvs = uvs ?? [];
  this.materialIndex = materialIndex ?? [];
  this.vertexWeights = vertexWeights ?? [];
  this.weightsIndices = weightsIndices ?? [];
}