createNode method

Future<Node> createNode()

Loads and imports the model, producing the shared template node tree.

The default imports load's bytes as a .glb. Override to import through another pipeline (or, in tests, to produce a hand-built tree with no GPU).

Implementation

Future<Node> createNode() async => Node.fromGlbBytes(await load());