fromGlbBytes static method
Load a glTF binary (GLB) model directly from raw bytes.
Unlike fromAsset, no offline conversion to .model is required —
useful for runtime use cases such as user-uploaded models, network-loaded
assets, or model editors.
Example:
final bytes = await rootBundle.load('assets/dash.glb');
final node = await Node.fromGlbBytes(bytes.buffer.asUint8List());
Implementation
static Future<Node> fromGlbBytes(Uint8List bytes) {
return importGlb(bytes);
}