meshNodes property
The nodes in this subtree (this node and its descendants, depth-first) that carry a mesh with at least one primitive.
The usual entry point after loading a model, when you need the drawable nodes to read geometry back, swap materials, or attach effects. Includes this node when it has a mesh.
Implementation
Iterable<Node> get meshNodes sync* {
final m = mesh;
if (m != null && m.primitives.isNotEmpty) yield this;
for (final child in children) {
yield* child.meshNodes;
}
}