Просмотр исходного кода

Docs: Fixes missing material on the doc page about the LOD class (#30591)

* Docs: Fixes missing material on the doc page about the LOD class

* Update LOD.html

---------

Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
Guilherme Siquinelli 10 месяцев назад
Родитель
Сommit
155d41e56a
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      docs/api/en/objects/LOD.html

+ 1 - 0
docs/api/en/objects/LOD.html

@@ -25,6 +25,7 @@
 
 
 		<code>
 		<code>
 		const lod = new THREE.LOD();
 		const lod = new THREE.LOD();
+		const material = new THREE.MeshBasicMaterial( { color: 0xffff00 } );
 
 
 		//Create spheres with 3 levels of detail and create new LOD levels for them
 		//Create spheres with 3 levels of detail and create new LOD levels for them
 		for( let i = 0; i < 3; i++ ) {
 		for( let i = 0; i < 3; i++ ) {

粤ICP备19079148号