@@ -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>
@@ -64,6 +64,12 @@
Use this method if you want to convert an equirectangular panorama to the cubemap format.
+ <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>
+
@@ -82,12 +82,6 @@
这个方法用来更新[page:CubeCamera.renderTarget renderTarget](渲染目标对象)。
- 这个方法用来来清除[page:CubeCamera.renderTarget renderTarget]的颜色、深度和/或模板缓冲区。
- 颜色缓冲区设置为渲染器当前的“清除”色。参数默认值均为*true*。
<h2>源代码</h2>
@@ -61,6 +61,12 @@
如果你想将一张equirectangular格式的全景图转换到cubemap格式,则使用此方法。
+ 这个方法用来来清除renderTarget的颜色、深度和/或模板缓冲区。
+ 颜色缓冲区设置为渲染器当前的“清除”色。参数默认值均为*true*。
<h2>源码</h2>