|
@@ -65,6 +65,7 @@
|
|
|
gltf.scene; // THREE.Scene
|
|
|
gltf.scenes; // Array<THREE.Scene>
|
|
|
gltf.cameras; // Array<THREE.Camera>
|
|
|
+ gltf.asset; // Object
|
|
|
|
|
|
},
|
|
|
// called when loading is in progresses
|
|
@@ -149,7 +150,7 @@
|
|
|
[page:Function onError] — (optional) A function to be called if an error occurs during parsing. The function receives error as an argument.<br />
|
|
|
</div>
|
|
|
<div>
|
|
|
- Parse a glTF-based ArrayBuffer or <em>JSON</em> String and fire [page:Function onLoad] callback when complete. The argument to [page:Function onLoad] will be an [page:object] that contains loaded parts: .[page:Scene scene], .[page:Array scenes], .[page:Array cameras], and .[page:Array animations].
|
|
|
+ Parse a glTF-based ArrayBuffer or <em>JSON</em> String and fire [page:Function onLoad] callback when complete. The argument to [page:Function onLoad] will be an [page:object] that contains loaded parts: .[page:Scene scene], .[page:Array scenes], .[page:Array cameras], .[page:Array animations], and .[page:Object asset].
|
|
|
</div>
|
|
|
|
|
|
<h2>Source</h2>
|