Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
deadfa13
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,发现更多精彩内容 >>
提交
deadfa13
编写于
5月 17, 2019
作者:
J
Jordan Santell
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update type annotations and links to three.js JSON object format for several toJSON methods
上级
8a097004
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
24 addition
and
18 deletion
+24
-18
docs/api/en/cameras/OrthographicCamera.html
docs/api/en/cameras/OrthographicCamera.html
+3
-3
docs/api/en/cameras/PerspectiveCamera.html
docs/api/en/cameras/PerspectiveCamera.html
+3
-2
docs/api/en/core/BufferGeometry.html
docs/api/en/core/BufferGeometry.html
+1
-1
docs/api/en/core/Geometry.html
docs/api/en/core/Geometry.html
+4
-2
docs/api/en/core/Object3D.html
docs/api/en/core/Object3D.html
+3
-2
docs/api/en/lights/Light.html
docs/api/en/lights/Light.html
+3
-2
docs/api/en/materials/Material.html
docs/api/en/materials/Material.html
+2
-2
docs/api/en/scenes/Scene.html
docs/api/en/scenes/Scene.html
+3
-2
docs/api/en/textures/Texture.html
docs/api/en/textures/Texture.html
+2
-2
未找到文件。
docs/api/en/cameras/OrthographicCamera.html
浏览文件 @
deadfa13
...
...
@@ -130,12 +130,12 @@ scene.add( camera );</code>
Updates the camera projection matrix. Must be called after any change of parameters.
</p>
<h3>
[method:
JSON toJSON](
)
</h3>
<h3>
[method:
Object toJSON](param:object meta]
)
</h3>
<p>
Return the camera's data in JSON format.
meta -- object containing metadata such as textures or images in objects' descendants.
<br
/>
Convert the camera to three.js [link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format].
</p>
<h2>
Source
</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
...
...
docs/api/en/cameras/PerspectiveCamera.html
浏览文件 @
deadfa13
...
...
@@ -190,9 +190,10 @@ camera.setViewOffset( fullWidth, fullHeight, w * 2, h * 1, w, h );
Updates the camera projection matrix. Must be called after any change of parameters.
</p>
<h3>
[method:
JSON toJSON](
)
</h3>
<h3>
[method:
Object toJSON](param:object meta]
)
</h3>
<p>
Return camera data in JSON format.
meta -- object containing metadata such as textures or images in objects' descendants.
<br
/>
Convert the camera to three.js [link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format].
</p>
<h2>
Source
</h2>
...
...
docs/api/en/core/BufferGeometry.html
浏览文件 @
deadfa13
...
...
@@ -327,7 +327,7 @@
<p>
Sets the attributes for this BufferGeometry from an array of points.
</p>
<h3>
[method:Object toJSON]()
</h3>
<p>
Returns a JSON object representation of the BufferGeometry
.
</p>
<p>
Convert the buffer geometry to three.js [link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format]
.
</p>
<h3>
[method:BufferGeometry toNonIndexed]()
</h3>
<p>
Return a non-index version of an indexed BufferGeometry.
</p>
...
...
docs/api/en/core/Geometry.html
浏览文件 @
deadfa13
...
...
@@ -327,8 +327,10 @@
Use [page:Object3D.scale] for typical real-time mesh scaling.
</p>
<h3>
[method:JSON toJSON] ( )
</h3>
<p>
Convert the geometry to JSON format.
</p>
<h3>
[method:Object toJSON] ( )
</h3>
<p>
Convert the geometry to JSON format.
<br
/>
Convert the geometry to three.js [link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format].
</p>
<h3>
[method:Geometry translate] ( [param:Float x], [param:Float y], [param:Float z] )
</h3>
<p>
...
...
docs/api/en/core/Object3D.html
浏览文件 @
deadfa13
...
...
@@ -389,9 +389,10 @@
Copy the given quaternion into [page:.quaternion].
</p>
<h3>
[method:
null toJSON]( [param:Quaternion q
] )
</h3>
<h3>
[method:
Object toJSON]( [param:object meta
] )
</h3>
<p>
Convert the object to JSON format.
meta -- object containing metadata such as materials, textures or images for the object.
<br
/>
Convert the object to three.js [link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format].
</p>
<h3>
[method:this translateOnAxis]( [param:Vector3 axis], [param:Float distance] )
</h3>
...
...
docs/api/en/lights/Light.html
浏览文件 @
deadfa13
...
...
@@ -67,9 +67,10 @@
[page:Light source] light into this one.
</p>
<h3>
[method:
JSON toJSON]( [param:String
meta] )
</h3>
<h3>
[method:
Object toJSON]( [param:object
meta] )
</h3>
<p>
Return Light data in JSON format.
meta -- object containing metadata such as materials, textures for objects.
<br
/>
Convert the light to three.js [link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format].
</p>
<h2>
Source
</h2>
...
...
docs/api/en/materials/Material.html
浏览文件 @
deadfa13
...
...
@@ -307,10 +307,10 @@
Sets the properties based on the *values*.
</p>
<h3>
[method:
null
toJSON]( [param:object meta] )
</h3>
<h3>
[method:
Object
toJSON]( [param:object meta] )
</h3>
<p>
meta -- object containing metadata such as textures or images for the material.
<br
/>
Convert the material to three.js
JSON format
.
Convert the material to three.js
[link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format]
.
</p>
<h2>
Source
</h2>
...
...
docs/api/en/scenes/Scene.html
浏览文件 @
deadfa13
...
...
@@ -46,9 +46,10 @@
<h2>
Methods
</h2>
<h3>
[method:
JSON
toJSON]
</h3>
<h3>
[method:
Object
toJSON]
</h3>
<p>
Return the scene data in JSON format.
meta -- object containing metadata such as textures or images for the scene.
<br
/>
Convert the scene to three.js [link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format].
</p>
<h3>
[method:null dispose]()
</h3>
...
...
docs/api/en/textures/Texture.html
浏览文件 @
deadfa13
...
...
@@ -251,10 +251,10 @@
Make copy of the texture. Note this is not a "deep copy", the image is shared.
</p>
<h3>
[method:
Texture
toJSON]( [param:Object meta] )
</h3>
<h3>
[method:
Object
toJSON]( [param:Object meta] )
</h3>
<p>
meta -- optional object containing metadata.
<br
/>
Convert the
material to three.js JSON format
.
Convert the
texture to three.js [link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format]
.
</p>
<h3>
[method:null dispose]()
</h3>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录