Browse Source

Add description of .asset into GLTFLoader doc

Takahiro 7 years ago
parent
commit
19456c6b7e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docs/examples/loaders/GLTFLoader.html

+ 2 - 1
docs/examples/loaders/GLTFLoader.html

@@ -65,6 +65,7 @@
 					gltf.scene; // THREE.Scene
 					gltf.scene; // THREE.Scene
 					gltf.scenes; // Array<THREE.Scene>
 					gltf.scenes; // Array<THREE.Scene>
 					gltf.cameras; // Array<THREE.Camera>
 					gltf.cameras; // Array<THREE.Camera>
+					gltf.asset; // Object
 
 
 				},
 				},
 				// called when loading is in progresses
 				// called when loading is in progresses
@@ -146,7 +147,7 @@
 		[page:Function onError] — (optional) A function to be called if an error occurs during parsing. The function receives error as an argument.<br />
 		[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>
 		<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>
 		</div>
 
 
 		<h2>Source</h2>
 		<h2>Source</h2>