Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
72065583
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,发现更多精彩内容 >>
提交
72065583
编写于
12月 16, 2016
作者:
M
Mr.doob
提交者:
GitHub
12月 16, 2016
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #10370 from looeee/docs/camera/addCopy
Updated Camera doc
上级
b8113f05
f975721e
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
24 addition
and
21 deletion
+24
-21
docs/api/cameras/Camera.html
docs/api/cameras/Camera.html
+24
-21
未找到文件。
docs/api/cameras/Camera.html
浏览文件 @
72065583
...
...
@@ -12,7 +12,9 @@
<h1>
[name]
</h1>
<div
class=
"desc"
>
Abstract base class for cameras. This class should always be inherited when you build a new camera.
</div>
<div
class=
"desc"
>
Abstract base class for cameras. This class should always be inherited when you build a new camera.
</div>
<h2>
Constructor
</h2>
...
...
@@ -20,9 +22,8 @@
<h3>
[name]()
</h3>
<div>
This constructor sets the following properties to the correct type:
[page:Camera.matrixWorldInverse matrixWorldInverse] and [page:Camera.projectionMatrix projectionMatrix].
Creates a new [name]. Note that this class is not intended to be called directly;
you probably want a [page:PerspectiveCamera] or [page:OrthographicCamera] instead.
</div>
...
...
@@ -36,6 +37,15 @@
You should not change this, as it used internally by the renderer for optimisation.
</div>
<h3>
[property:Layers layers]
</h3>
<div>
The [page:Layers layers] that the camera is a member of. This is an inherited
property from [page:Object3D].
<br
/><br
/>
Objects must share at least one layer with the camera to be seen
when the camera's viewpoint is rendered.
</div>
<h3>
[property:Matrix4 matrixWorldInverse]
</h3>
<div>
This is the inverse of matrixWorld. MatrixWorld contains the Matrix which has
...
...
@@ -45,17 +55,19 @@
<h3>
[property:Matrix4 projectionMatrix]
</h3>
<div>
This is the matrix which contains the projection.
</div>
<h3>
[property:Layers layers]
</h3>
<div>
The [page:Layers layers] that the camera is a member of. This is an inherited
property from [page:Object3D].
<br
/><br
/>
Objects must share at least one layer with the camera to be seen
when the camera's viewpoint is rendered.
<h2>
Methods
</h2>
<div>
See the base [page:Object3D] class for common methods.
</div>
<h3>
[method:Camera clone]( )
</h3>
<div>
Return a new camera with the same properties as this one.
</div>
<h2>
Methods
</h2>
<div>
See the base [page:Objct3D] class for common methods.
</div>
<h3>
[method:Camera copy]( [page:Camera source] )
</h3>
<div>
Copy the properties from the source camera into this one.
</div>
<h3>
[method:Vector3 getWorldDirection]( [page:Vector3 optionalTarget] )
</h3>
<div>
...
...
@@ -64,7 +76,6 @@
from the camera's position to the [page:Vector3 optionalTarget].
</div>
<h3>
[method:null lookAt]( [page:Vector3 target] )
</h3>
<div>
target — position in 3D space for the camera to point towards
<br
/><br
/>
...
...
@@ -73,14 +84,6 @@
the parent of this camera is the scene or at position (0,0,0).
</div>
<h3>
[method:Camera clone]( [page:Camera camera] )
</h3>
<div>
camera — camera to clone
<br
/><br
/>
Returns a clone of camera.
</div>
<h2>
Source
</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录