Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
fktz008
three.js
提交
e272f45b
T
three.js
项目概览
fktz008
/
three.js
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
three.js
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
e272f45b
编写于
9月 16, 2018
作者:
G
gogoend
提交者:
GitHub
9月 16, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update CubeCamera.html
上级
1dafb9d2
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
19 addition
and
17 deletion
+19
-17
docs/api/zh/cameras/CubeCamera.html
docs/api/zh/cameras/CubeCamera.html
+19
-17
未找到文件。
docs/api/zh/cameras/CubeCamera.html
浏览文件 @
e272f45b
...
...
@@ -12,9 +12,9 @@
<h1>
[name]
</h1>
<p
class=
"desc"
>
Creates 6 cameras that render to a [page:WebGLRenderTargetCube].
</p>
<p
class=
"desc"
>
创建6个摄像机,将场景渲染到[page:WebGLRenderTargetCube](用于接收渲染结果的立方体)上。
</p>
<h2>
Examples
</h2>
<h2>
示例
</h2>
<p>
[example:webgl_materials_cubemap_dynamic materials / cubemap / dynamic ]
</p>
<p>
[example:webgl_materials_cubemap_dynamic2 materials / cubemap / dynamic2 ]
</p>
...
...
@@ -40,49 +40,51 @@
</code>
<h2>
Constructor
</h2>
<h2>
构造器
</h2>
<h3>
[name]( [param:Number near], [param:Number far], [param:Number cubeResolution] )
</h3>
<p>
near --
The near clipping distance.
<br
/>
far --
The far clipping distance
<br
/>
cubeResolution --
Sets the length of the cube's edges.
near --
远剪切面的距离
<br
/>
far --
近剪切面的距离
<br
/>
cubeResolution --
设置立方体边缘的长度
</p>
<p>
Constructs a CubeCamera that contains 6 [page:PerspectiveCamera PerspectiveCameras] that
render to a [page:WebGLRenderTargetCube].
构造一个包含6个[page:PerspectiveCamera PerspectiveCameras](透视摄像机)的立方摄像机,并将其拍摄的场景渲染到一个[page:WebGLRenderTargetCube]上。
</p>
<h2>
Properties
</h2>
<p>
See the base [page:Object3D] class for common properties.
</p>
<h2>
属性
</h2>
<p>
请参阅其基类[page:Object3D]来查看共有属性。
</p>
<h3>
[property:WebGLRenderTargetCube renderTarget]
</h3>
<p>
The cube texture that gets generated.
生成的立方体纹理
</p>
<h2>
Methods
</h2>
<p>
See the base [page:Object3D] class for common methods.
</p>
<h2>
方法
</h2>
<p>
请参阅其基类[page:Object3D]来查看其共有方法。
</p>
<h3>
[method:null update]( [param:WebGLRenderer renderer], [param:Scene scene] )
</h3>
<p>
renderer --
The current WebGL renderer
<br
/>
scene --
The current scene
renderer --
当前的WebGL渲染器
<br
/>
scene --
当前的场景
</p>
<p>
Call this to update the [page:CubeCamera.renderTarget renderTarget].
这个方法用来更新[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*。
Call this to clear the [page:CubeCamera.renderTarget renderTarget] 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>
<h2>
源代码
</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</body>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录