Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
074290d3
T
three.js
项目概览
车家大少爷
/
three.js
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
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,发现更多精彩内容 >>
未验证
提交
074290d3
编写于
12月 18, 2018
作者:
M
Mr.doob
提交者:
GitHub
12月 18, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #15129 from rexdk/patch-2
Docs: Improved BoxBufferGeometry
上级
5a660931
9a30f28c
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
15 addition
and
13 deletion
+15
-13
docs/api/en/geometries/BoxBufferGeometry.html
docs/api/en/geometries/BoxBufferGeometry.html
+15
-13
未找到文件。
docs/api/en/geometries/BoxBufferGeometry.html
浏览文件 @
074290d3
...
...
@@ -44,29 +44,31 @@
<h3>
[name]([param:Float width], [param:Float height], [param:Float depth], [param:Integer widthSegments], [param:Integer heightSegments], [param:Integer depthSegments])
</h3>
<p>
width — Width
of the sides on the X axis. Default is
1.
<br
/>
height — Height
of the sides on the Y axis. Default is
1.
<br
/>
depth — Depth
of the sides on the Z axis. Default is
1.
<br
/>
widthSegments —
Optional. Number of segmented faces along the width of the sides. Default is
1.
<br
/>
heightSegments —
Optional. Number of segmented faces along the height of the sides. Default is
1.
<br
/>
depthSegments —
Optional. Number of segmented faces along the depth of the sides. Default is 1.
width — Width
; that is, the length of the edges parallel to the X axis. Optional; defaults to
1.
<br
/>
height — Height
; that is, the length of the edges parallel to the Y axis. Optional; defaults to
1.
<br
/>
depth — Depth
; that is, the length of the edges parallel to the Z axis. Optional; defaults to
1.
<br
/>
widthSegments —
Number of segmented rectangular faces along the width of the sides. Optional; defaults to
1.
<br
/>
heightSegments —
Number of segmented rectangular faces along the height of the sides. Optional; defaults to
1.
<br
/>
depthSegments —
Number of segmented rectangular faces along the depth of the sides. Optional; defaults to 1.
<br
/>
</p>
<h2>
Properties
</h2>
<h3>
[property:Object parameters]
</h3>
<p>
An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
</p>
<p>
Using the above example code above as our basis
:
<code>
geometry.parameters; //
outputs an object {width: 1, height: 1, depth: 1, widthSegments: undefined, height
Segments: undefined}
Using the above example
:
<code>
geometry.parameters; //
{width: 1, height: 1, depth: 1, widthSegments: undefined, heightSegments: undefined, depth
Segments: undefined}
cube.geometry.parameters; // as above
cube.geometry.parameters.width; // === 1
cube.geometry.parameters.widthSegments // === undefined.
</code>
</p>
cube.geometry.parameters.widthSegments; // === undefined.
</code>
</p>
<h2>
Methods
</h2>
<h2>
Source
</h2>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录