Browse Source

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 1 year ago
parent
commit
155d41e56a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      docs/api/en/objects/LOD.html

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

@@ -25,6 +25,7 @@
 
 		<code>
 		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
 		for( let i = 0; i < 3; i++ ) {

粤ICP备19079148号