parse method
dynamic
parse(
- dynamic buffer
Implementation
parse(buffer) {
var reader = BinaryReader(buffer);
reader.skip(23); // skip magic 23 bytes
var version = reader.getUint32();
if (version < 6400) {
throw ('THREE.FBXLoader: FBX version not supported, FileVersion: $version');
}
var allNodes = FBXTree();
while (!endOfContent(reader)) {
var node = parseNode(reader, version);
if (node != null) allNodes.add(node["name"], node);
}
return allNodes;
}