提交 1f4e258d 编写于 作者: S sole

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

上级 4ba71f6a
......@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册