addMesh method

  1. @override
void addMesh(
  1. Mesh mesh
)
override

Add a mesh as a child node.

Implementation

@override
void addMesh(Mesh mesh) {
  final node = Node(mesh: mesh);
  add(node);
}