Ver Fonte

Docs: Updated CubeCamera docs.

Mr.doob há 4 anos atrás
pai
commit
4eb3015b8c

+ 0 - 6
docs/api/en/cameras/CubeCamera.html

@@ -80,12 +80,6 @@
 		Call this to update the [page:CubeCamera.renderTarget renderTarget].
 		</p>
 
-		<h3>[method:null clear]( [param:WebGLRenderer renderer], [param:Boolean color], [param:Boolean depth], [param:Boolean stencil] )</h3>
-		<p>
-		Call this to clear the renderTarget's color, depth, and/or stencil buffers.
-		The color buffer is set to the renderer's current clear color. Arguments default to *true*.
-		</p>
-
 		<h2>Source</h2>
 
 		<p>

+ 6 - 0
docs/api/en/renderers/WebGLCubeRenderTarget.html

@@ -64,6 +64,12 @@
 			Use this method if you want to convert an equirectangular panorama to the cubemap format.
 		</p>
 
+		<h3>[method:undefined clear]( [param:WebGLRenderer renderer], [param:Boolean color], [param:Boolean depth], [param:Boolean stencil] )</h3>
+		<p>
+			Call this to clear the renderTarget's color, depth, and/or stencil buffers.
+			The color buffer is set to the renderer's current clear color. Arguments default to *true*.
+		</p>
+
 		<h2>Source</h2>
 
 		<p>

+ 0 - 6
docs/api/zh/cameras/CubeCamera.html

@@ -82,12 +82,6 @@
 		这个方法用来更新[page:CubeCamera.renderTarget renderTarget](渲染目标对象)。
 		</p>
 
-		<h3>[method:null clear]( [param:WebGLRenderer renderer], [param:Boolean color], [param:Boolean depth], [param:Boolean stencil] )</h3>
-		<p>
-		这个方法用来来清除[page:CubeCamera.renderTarget renderTarget]的颜色、深度和/或模板缓冲区。
-		颜色缓冲区设置为渲染器当前的“清除”色。参数默认值均为*true*。
-		</p>
-
 		<h2>源代码</h2>
 
 		<p>

+ 6 - 0
docs/api/zh/renderers/WebGLCubeRenderTarget.html

@@ -61,6 +61,12 @@
 			如果你想将一张equirectangular格式的全景图转换到cubemap格式,则使用此方法。
 		</p>
 
+		<h3>[method:undefined clear]( [param:WebGLRenderer renderer], [param:Boolean color], [param:Boolean depth], [param:Boolean stencil] )</h3>
+		<p>
+			这个方法用来来清除renderTarget的颜色、深度和/或模板缓冲区。
+			颜色缓冲区设置为渲染器当前的“清除”色。参数默认值均为*true*。
+		</p>
+
 		<h2>源码</h2>
 
 		<p>