Browse Source

Sort of making the gaps in documentation for DirectionalLight way terribly evident, I'm afraid!

sole 13 years ago
parent
commit
1f4e258dcf
1 changed files with 55 additions and 3 deletions
  1. 55 3
      docs/api/lights/DirectionalLight.html

+ 55 - 3
docs/api/lights/DirectionalLight.html

@@ -20,9 +20,9 @@
 
 		<code>// White directional light at half intensity shining from the top.
 
-		var directionalLight = new THREE.DirectionalLight( 0xffffff, 0.5 );
-		directionalLight.position.set( 0, 1, 0 );
-		scene.add( directionalLight );</code>
+var directionalLight = new THREE.DirectionalLight( 0xffffff, 0.5 );
+directionalLight.position.set( 0, 1, 0 );
+scene.add( directionalLight );</code>
 
 
 		<h2>Constructor</h2>
@@ -134,30 +134,82 @@
 		</div>
 
 		<h3>.[page:Boolean shadowCascade]</h3>
+		<div>
+			??? <br />
+			Default — *false*.
+		</div>
 
 		<h3>.[page:Vector3 shadowCascadeOffset]</h3>
+		<div>
+			??? <br />
+			Default — *Three.Vector3( 0, 0, -1000 )*.
+		</div>
 
 		<h3>.[page:Integer shadowCascadeCount]</h3>
+		<div>
+			??? <br />
+			Default — *2*.
+		</div>
 
 		<h3>.[page:Array shadowCascadeBias]</h3>
+		<div>
+			??? <br />
+			Default — <strong>[ 0, 0, 0 ]</strong>.
+		</div>
 
 		<h3>.[page:Array shadowCascadeWidth]</h3>
+		<div>
+			??? <br />
+			Default — <strong>[ 512, 512, 512 ]</strong>.
+		</div>
 
 		<h3>.[page:Array shadowCascadeHeight]</h3>
+		<div>
+			??? <br />
+			Default — <strong>[ 512, 512, 512 ]</strong>.
+		</div>
 
 		<h3>.[page:Array shadowCascadeNearZ]</h3>
+		<div>
+			??? <br />
+			Default — <strong>[ -1.000, 0.990, 0.998 ]</strong>.
+		</div>
 
 		<h3>.[page:Array shadowCascadeFarZ]</h3>
+		<div>
+			??? <br />
+			Default — <strong>[ 0.990, 0.998, 1.000 ]</strong>.
+		</div>
 
 		<h3>.[page:Array shadowCascadeArray]</h3>
+		<div>
+			??? <br />
+			Default — <strong>[ ]</strong>.
+		</div>
 
 		<h3>.[page:RenderTarget shadowMap]</h3>
+		<div>
+			??? <br />
+			Default — *null*.
+		</div>
 
 		<h3>.[page:Integer shadowMapSize]</h3>
+		<div>
+			??? <br />
+			Default — *null*.
+		</div>
 
 		<h3>.[page:Camera shadowCamera]</h3>
+		<div>
+			??? <br />
+			Default — *null*.
+		</div>
 
 		<h3>.[page:Matrix shadowMatrix]</h3>
+		<div>
+			??? <br />
+			Default — *null*.
+		</div>
 
 
 		<h2>Source</h2>