Pārlūkot izejas kodu

Merge pull request #13356 from takahirox/UpdateGLTFLoaderDoc

Add description of .asset into GLTFLoader doc
Mr.doob 7 gadi atpakaļ
vecāks
revīzija
39b2a8c5af
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      docs/examples/loaders/GLTFLoader.html

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

@@ -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>