Browse Source

Update OrthographicCamera.html

gogoend 6 years ago
parent
commit
1dafb9d24e
1 changed files with 51 additions and 50 deletions
  1. 51 50
      docs/api/zh/cameras/OrthographicCamera.html

+ 51 - 50
docs/api/zh/cameras/OrthographicCamera.html

@@ -13,16 +13,17 @@
 		<h1>[name]</h1>
 
 		<p class="desc">
-			Camera that uses [link:https://en.wikipedia.org/wiki/Orthographic_projection orthographic projection].<br /><br />
+			这一摄像机使用[link:https://en.wikipedia.org/wiki/Orthographic_projection orthographic projection](正交投影)来进行投影。<br /><br />
 
-			In this projection mode, an object's size in the rendered image stays constant
-			regardless of its distance from the camera.<br /><br />
+			在这种投影模式下,无论物体距离相机距离远或者近,在最终渲染的图片中物体的大小都保持不变。
+			<br /><br />
 
-			This can be useful for rendering 2D scenes and UI elements, amongst other things.
+
+			这对于渲染2D场景或者UI元素是非常有用的。
 		</p>
 
 
-		<h2>Example</h2>
+		<h2>示例</h2>
 
 		<p>[example:canvas_camera_orthographic camera / orthographic ]</p>
 		<p>[example:webgl_camera camera ]</p>
@@ -40,104 +41,104 @@
 scene.add( camera );</code>
 
 
-		<h2>Constructor</h2>
+		<h2>构造器</h2>
 
 
 		<h3>[name]( [param:Number left], [param:Number right], [param:Number top], [param:Number bottom], [param:Number near], [param:Number far] )</h3>
 		<p>
-		left — Camera frustum left plane.<br />
-		right — Camera frustum right plane.<br />
-		top — Camera frustum top plane.<br />
-		bottom — Camera frustum bottom plane.<br />
-		near — Camera frustum near plane.<br />
-		far — Camera frustum far plane.<br /><br />
-
-		Together these define the camera's [link:https://en.wikipedia.org/wiki/Viewing_frustum viewing frustum].
+		left — 摄像机视锥体左侧面。<br />
+		right — 摄像机视锥体右侧面。<br />
+		top — 摄像机视锥体上侧面。<br />
+		bottom — 摄像机视锥体下侧面。<br />
+		near — 摄像机视锥体近端面。<br />
+		far — 摄像机视锥体远端面。<br /><br />
+
+		这些参数一起定义了摄像机的[link:https://en.wikipedia.org/wiki/Viewing_frustum viewing frustum](视锥体)。
 		</p>
 
 
-		<h2>Properties</h2>
+		<h2>属性</h2>
 		<p>
-			See the base [page:Camera] class for common properties.<br>
- 			Note that after making changes to most of these properties you will have to call
- 			[page:OrthographicCamera.updateProjectionMatrix .updateProjectionMatrix] for the changes to take effect.
+			请参阅其基类[page:Camera]来查看其共有属性。
+			<br>
+			请注意,在大多数属性发生改变之后,你将需要调用[page:OrthographicCamera.updateProjectionMatrix .updateProjectionMatrix]来使得这些改变生效。
 		</p>
 
 		<h3>[property:Float bottom]</h3>
-		<p>Camera frustum bottom plane.</p>
+		<p>摄像机视锥体下侧面。</p>
 
 		<h3>[property:Float far]</h3>
 		<p>
-		Camera frustum far plane. Default is *2000*.<br /><br />
-
-		The valid range is between the current value of the [page:.near near] plane and infinity.
+			摄像机视锥体远端面,其默认值为*2000*。<br /><br />
+			其值的有效范围介于[page:.near near](摄像机视锥体近端面)和无穷大之间。
 		</p>
 
 		<h3>[property:Boolean isOrthographicCamera]</h3>
 		<p>
-			Used to test whether this or derived classes are OrthographicCameras. Default is *true*.<br /><br />
-
-			This should not be changed as it is used internally by the renderer for optimisation.
+			用于测试这个类或者派生类是否为OrthographicCameras,默认为*true*。<br /><br />
+			你不应当对这个属性进行改变,因为它在内部由渲染器使用,以用于优化。
 		</p>
 
 		<h3>[property:Float left]</h3>
-		<p>Camera frustum left plane.</p>
+		<p>摄像机视锥体左侧面。</p>
 
 		<h3>[property:Float near]</h3>
 		<p>
-			Camera frustum near plane. Default is *0.1*.<br /><br />
+			摄像机视锥体近端面。其默认值为*0.1*.<br /><br />
+
+			其值的有效范围介于0和[page:.far far](摄像机视锥体远端面)之间。
+			<br>
+			请注意,和[page:PerspectiveCamera]不同,*0*对于OrthographicCamera的近端面来说是一个有效值。
 
-			The valid range is between 0 and the current value of the [page:.far far] plane.
-			Note that, unlike for the [page:PerspectiveCamera], *0* is a valid value for an
-			OrthographicCamera's near plane.
 		</p>
 
 		<h3>[property:Float right]</h3>
-		<p>Camera frustum right plane.</p>
+		<p>摄像机视锥体右侧面。</p>
 
 		<h3>[property:Float top]</h3>
-		<p>Camera frustum top plane.</p>
+		<p>摄像机视锥体上侧面。</p>
 
 		<h3>[property:Object view]</h3>
-		<p>Set by [page:OrthographicCamera.setViewOffset setViewOffset]. Default is *null*.</p>
+		<p>这个值是由[page:OrthographicCamera.setViewOffset setViewOffset]来设置的,其默认值为*null*。</p>
 
 		<h3>[property:number zoom]</h3>
-		<p>Gets or sets the zoom factor of the camera. Default is *1*.</p>
+		<p>
+			获取或者设置摄像机的缩放倍数,其默认值为*1*。</p>
 
-		<h2>Methods</h2>
-		<p>See the base [page:Camera] class for common methods.</p>
+		<h2>方法</h2>
+		<p>请参阅其基类[page:Camera]来查看其共有方法。</p>
 
 		<h3>[method:null setViewOffset]( [param:Float fullWidth], [param:Float fullHeight], [param:Float x], [param:Float y], [param:Float width], [param:Float height] )</h3>
 		<p>
-		fullWidth — full width of multiview setup<br />
-		fullHeight — full height of multiview setup<br />
-		x — horizontal offset of subcamera<br />
-		y — vertical offset of subcamera<br />
-		width — width of subcamera<br />
-		height — height of subcamera<br /><br />
-
-			Sets an offset in a larger [link:https://en.wikipedia.org/wiki/Viewing_frustum viewing frustum].
-			This is useful for multi-window or multi-monitor/multi-machine setups.
-			For an example on how to use it see [page:PerspectiveCamera.setViewOffset PerspectiveCamera].
+		fullWidth — 多视图的全宽设置<br />
+		fullHeight — 多视图的全高设置<br />
+		x — 副摄像机的水平偏移<br />
+		y — 副摄像机的垂直偏移<br />
+		width — 副摄像机的宽度<br />
+		height — 副摄像机的高度<br /><br />
+
+			在较大的[link:https://en.wikipedia.org/wiki/Viewing_frustum viewing frustum](视锥体)中设置偏移量,对于多窗口或者多显示器的设置是很有用的。
+			对于如何使用它,请查看[page:PerspectiveCamera.setViewOffset PerspectiveCamera]中的示例。
+
 		</p>
 
 		<h3>[method:null clearViewOffset]()</h3>
 		<p>
-		Removes any offset set by the .setViewOffset method.
+			清除任何由.setViewOffset设置的偏移量。
 		</p>
 
 		<h3>[method:null updateProjectionMatrix]()</h3>
 		<p>
-		Updates the camera projection matrix. Must be called after any change of parameters.
+			更新摄像机投影矩阵。在任何参数被改变以后必须被调用。
 		</p>
 
 		<h3>[method:JSON toJSON]()</h3>
 		<p>
-		Return the camera's data in JSON format.
+		使用JSON格式来返回摄像机数据。
 		</p>
 
 
-		<h2>Source</h2>
+		<h2>源代码</h2>
 
 		[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
 	</body>