Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
afb0dad7
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,发现更多精彩内容 >>
提交
afb0dad7
编写于
11月 06, 2013
作者:
G
Greg Tatum
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Filled in TODOs
上级
b55c1c20
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
25 addition
and
22 deletion
+25
-22
docs/api/core/Object3D.html
docs/api/core/Object3D.html
+25
-22
未找到文件。
docs/api/core/Object3D.html
浏览文件 @
afb0dad7
...
...
@@ -17,7 +17,7 @@
<h3>
[name]()
</h3>
<div>
todo
The constructor takes no arguments.
</div>
...
...
@@ -50,7 +50,7 @@
<h3>
.[page:Vector3 rotation]
</h3>
<div>
Object's local rotation (
<a
href=
"https://en.wikipedia.org/wiki/Euler_angles"
>
Euler angles
</a>
), in radians.
Object's local rotation (
<a
href=
"https://en.wikipedia.org/wiki/Euler_angles"
target=
"_blank"
>
Euler angles
</a>
), in radians.
</div>
<h3>
.[page:String eulerOrder]
</h3>
...
...
@@ -125,16 +125,19 @@
<h3>
.[page:object userData]
</h3>
<div>
todo
An object that can be used to store custom data about the Object3d. It should not hold references to functions as these will not be cloned.
</div>
<h3>
.[page:Matrix4 matrixWorld]
</h3>
<div>
todo
The global transform of the object. If the Object3d has no parent, then it's identical to the local transform.
</div>
<h2>
Methods
</h2>
<h3>
[page:EventDispatcher EventDispatcher] methods are available on this class.
</h3>
<h3>
.applyMatrix( [page:Matrix4 matrix])
</h3>
<div>
matrix - matrix
...
...
@@ -239,40 +242,40 @@
</div>
<h3>
.getObjectByName([page:
todo name], [page:todo recursive]) [page:todo
]
</h3>
<h3>
.getObjectByName([page:
String name], [page:Boolean recursive]) [page:Object3d Object3d
]
</h3>
<div>
name --
todo
<br
/>
recursive --
todo
name --
String to match to the children's Object3d.name property.
<br
/>
recursive --
Boolean whether to search through the children's children. Default is false.
</div>
<div>
todo
Searches through the object's children and returns the first with a matching name, optionally recursive.
</div>
<h3>
.
translateOnAxis([page:todo axis], [page:todo distance]) [page:todo
]
</h3>
<h3>
.
getObjectById([page:Integer id], [page:Boolean recursive]) [page:Object3D
]
</h3>
<div>
axis -- todo
<br
/>
distance -- todo
id -- Unique number of the object instance
<br
/>
recursive -- Boolean whether to search through the children's children. Default is false.
</div>
<div>
todo
Searches through the object's children and returns the first with a matching id, optionally recursive.
</div>
<h3>
.
getObjectById([page:todo id], [page:todo recursive]) [page:todo
]
</h3>
<h3>
.
translateOnAxis([page:Vector3 axis], [page:Float distance]) [page:Object3D
]
</h3>
<div>
id -- todo
<br
/>
recursive -- todo
axis -- A normalized vector in object space.
<br
/>
distance -- The distance to translate.
</div>
<div>
todo
Translate an object by distance along an axis in object space. The axis is assumed to be normalized.
</div>
<h3>
.rotateOnAxis([page:
todo axis], [page:todo angle]) [page:todo
]
</h3>
<h3>
.rotateOnAxis([page:
Vector3 axis], [page:Float angle]) [page:Object3D
]
</h3>
<div>
axis --
todo
<br
/>
angle --
todo
axis --
A normalized vector in object space.
<br
/>
angle --
The angle in radians.
</div>
<div>
todo
Rotate an object along an axis in object space. The axis is assumed to be normalized.
</div>
<h2>
Source
</h2>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录