Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
9a15ae0a
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,发现更多精彩内容 >>
提交
9a15ae0a
编写于
8月 06, 2012
作者:
M
Mr.doob
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'sole/dev' into dev
上级
33a45179
210072c5
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
57 addition
and
35 deletion
+57
-35
docs/api/loaders/BinaryLoader.html
docs/api/loaders/BinaryLoader.html
+8
-10
docs/api/loaders/JSONLoader.html
docs/api/loaders/JSONLoader.html
+7
-9
docs/api/loaders/Loader.html
docs/api/loaders/Loader.html
+19
-12
docs/api/loaders/SceneLoader.html
docs/api/loaders/SceneLoader.html
+23
-4
未找到文件。
docs/api/loaders/BinaryLoader.html
浏览文件 @
9a15ae0a
...
...
@@ -7,26 +7,24 @@
<link
type=
"text/css"
rel=
"stylesheet"
href=
"../../page.css"
/>
</head>
<body>
[page:Loader]
→
<h1>
[name]
</h1>
<div
class=
"desc"
>
todo
</div>
<div
class=
"desc"
>
A loader for loading models generated by the slim OBJ converter with BINARY option
<em>
(converter_obj_three_slim.py -t binary)
</em>
</div>
<h2>
Constructor
</h2>
<h3>
[name]()
</h3>
<h2>
Properties
</h2>
<h3>
.[page:Vector3 todo]
</h3>
<h3>
[name]( [page:Boolean showStatus] )
</h3>
<h2>
Methods
</h2>
<h3>
.
todo( [page:Vector3 todo
] )
</h3>
<h3>
.
load( [page:String url], [page:Function callback], [page:String texturePath], [page:String binaryPath
] )
</h3>
<div>
todo — todo
<br
/>
url — required
<br
/>
callback — required. This function will be called with the loaded model as an instance of [page:Geometry geometry] when the load is completed.
<br
/>
texturePath — optional. If not specified, textures will be assumed to be in the same folder as the Javascript model file.
<br
/>
binaryPath — optional. If not specified, the binary file will be assumed to be in the same folder as the Javascript model file.
</div>
...
...
docs/api/loaders/JSONLoader.html
浏览文件 @
9a15ae0a
...
...
@@ -7,26 +7,24 @@
<link
type=
"text/css"
rel=
"stylesheet"
href=
"../../page.css"
/>
</head>
<body>
[page:Loader]
→
<h1>
[name]
</h1>
<div
class=
"desc"
>
todo
</div>
<div
class=
"desc"
>
A loader for loading objects in JSON format.
</div>
<h2>
Constructor
</h2>
<h3>
[name]()
</h3>
<h2>
Properties
</h2>
<h3>
.[page:Vector3 todo]
</h3>
<h3>
[name]( [page:Boolean showStatus] )
</h3>
<h2>
Methods
</h2>
<h3>
.
todo( [page:Vector3 todo
] )
</h3>
<h3>
.
load( [page:String url], [page:Function callback], [page:String texturePath
] )
</h3>
<div>
todo — todo
<br
/>
url — required
<br
/>
callback — required. This function will be called with the loaded model as an instance of [page:Geometry geometry] when the load is completed.
<br
/>
texturePath — optional. If not specified, textures will be assumed to be in the same folder as the Javascript model file.
</div>
...
...
docs/api/loaders/Loader.html
浏览文件 @
9a15ae0a
...
...
@@ -9,26 +9,33 @@
<body>
<h1>
[name]
</h1>
<div
class=
"desc"
>
todo
</div>
<div
class=
"desc"
>
Base class for implementing loaders.
</div>
<h2>
Constructor
</h2>
<h3>
[name]()
</h3>
<h3>
[name](
[page:Boolean showStatus]
)
</h3>
<h2>
Properties
</h2>
<h3>
.[page:Vector3 todo]
</h3>
<h2>
Methods
</h2>
<h3>
.todo( [page:Vector3 todo] )
</h3>
<div>
todo — todo
<br
/>
</div>
<h3>
.[page:Boolean showStatus]
</h3>
<div>
If true, show loading status in the statusDomElement.
</div>
<h3>
.[page:DOMElement statusDomElement]
</h3>
<div>
This is the recipient of status messages.
</div>
<h3>
.[page:Function onLoadStart]
</h3>
<div>
Will be called when load starts.
</div>
<div>
The default is a function with empty body.
</div>
<h3>
.[page:Function onLoadProgress]
</h3>
<div>
Will be called while load progresses.
</div>
<div>
The default is a function with empty body.
</div>
<h3>
.[page:Function onLoadComplete]
</h3>
<div>
Will be called when load completes.
</div>
<div>
The default is a function with empty body.
</div>
<h2>
Source
</h2>
...
...
docs/api/loaders/SceneLoader.html
浏览文件 @
9a15ae0a
...
...
@@ -9,7 +9,7 @@
<body>
<h1>
[name]
</h1>
<div
class=
"desc"
>
todo
</div>
<div
class=
"desc"
>
A loader for loading a complete scene out of a JSON file.
</div>
<h2>
Constructor
</h2>
...
...
@@ -19,14 +19,33 @@
<h2>
Properties
</h2>
<h3>
.[page:Vector3 todo]
</h3>
<h3>
.[page:Function onLoadStart]
</h3>
<div>
Will be called when load starts.
</div>
<div>
The default is a function with empty body.
</div>
<h3>
.[page:Function onLoadProgress]
</h3>
<div>
Will be called while load progresses.
</div>
<div>
The default is a function with empty body.
</div>
<h3>
.[page:Function onLoadComplete]
</h3>
<div>
Will be called when each element in the scene completes loading.
</div>
<div>
The default is a function with empty body.
</div>
<h3>
.[page:Function callbackSync]
</h3>
<div>
Will be called when load completes.
</div>
<div>
The default is a function with empty body.
</div>
<h3>
.[page:Function callbackProgress]
</h3>
<div>
Will be called as load progresses.
</div>
<div>
The default is a function with empty body.
</div>
<h2>
Methods
</h2>
<h3>
.
todo( [page:Vector3 todo
] )
</h3>
<h3>
.
load( [page:String url], [page:Function callbackFinished
] )
</h3>
<div>
todo — todo
<br
/>
url — required
<br
/>
callbackFinished — required. This function will be called with the loaded model as an instance of [page:Scene scene] when the load is completed.
</div>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录