parse method
dynamic
parse(
- dynamic buffer
Implementation
parse(buffer) {
var reader = new 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 = new FBXTree();
while (!this.endOfContent(reader)) {
var node = this.parseNode(reader, version);
if (node != null) allNodes.add(node["name"], node);
}
return allNodes;
}