ModelNode.simple constructor

ModelNode.simple({
  1. required int nodeIndex,
  2. required Mesh? mesh,
})

Implementation

ModelNode.simple({
  required this.nodeIndex,
  required this.mesh,
})  : name = null,
      parentNodeIndex = null,
      transform = Matrix4.identity(),
      joints = {};