提交 e12d47ef 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #10395 from looeee/docs/camera/near_far

Updated near and far descriptions for Orthographic and Perspective Camera
......@@ -64,7 +64,12 @@ scene.add( camera );</code>
<div>Camera frustum bottom plane.</div>
<h3>[property:Float far]</h3>
<div>Camera frustum far plane. Default is *2000*.</div>
<div>
Camera frustum far plane. Default is *2000*.<br /><br />
Note that Three does not currently give warnings for incorrect values here, however the expected
range is between the current value of the [page:.far far] plane and infinity.
</div>
<h3>[property:Boolean isOrthographicCamera]</h3>
<div>
......@@ -77,7 +82,12 @@ scene.add( camera );</code>
<div>Camera frustum left plane.</div>
<h3>[property:Float near]</h3>
<div>Camera frustum near plane. Default is *0.1*.</div>
<div>
Camera fustum near plane. Default is *0.1*.<br /><br />
Note that Three does not currently give warnings for incorrect values here, however the expected
range is between 0 and the current value of the [page:.far far] plane.
</div>
<h3>[property:Float right]</h3>
<div>Camera frustum right plane.</div>
......
......@@ -54,7 +54,12 @@ scene.add( camera );</code>
<div>Camera frustum aspect ratio, usually the canvas width / canvas height. Default is *1* (square canvas).</div>
<h3>[property:Float far]</h3>
<div>Camera frustum far plane. Default is *2000*.</div>
<div>
Camera frustum far plane. Default is *2000*.<br /><br />
Note that Three does not currently give warnings for incorrect values here, however the expected
range is between the current value of the [page:.far far] plane and infinity.
</div>
<h3>[property:Float filmGauge]</h3>
<div>Film size used for the larger axis. Default is 35 (millimeters). This parameter does not influence the projection matrix unless .filmOffset is set to a nonzero value.</div>
......@@ -80,7 +85,12 @@ scene.add( camera );</code>
<h3>[property:Float near]</h3>
<div>Camera frustum near plane. Default is *0.1*.</div>
<div>
Camera fustum near plane. Default is *0.1*.<br /><br />
Note that Three does not currently give warnings for incorrect values here, however the expected
range is between 0 and the current value of the [page:.far far] plane.
</div>
<h3>[property:Object view]</h3>
<div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册