Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
50132bac
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,发现更多精彩内容 >>
提交
50132bac
编写于
11月 10, 2016
作者:
L
looeee
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Created docs for interleave and instanced buffers and geometries
上级
2ccb4d9e
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
363 addition
and
0 deletion
+363
-0
docs/api/core/InstancedBufferAttribute.html
docs/api/core/InstancedBufferAttribute.html
+44
-0
docs/api/core/InstancedBufferGeometry.html
docs/api/core/InstancedBufferGeometry.html
+50
-0
docs/api/core/InstancedInterleavedBuffer.html
docs/api/core/InstancedInterleavedBuffer.html
+44
-0
docs/api/core/InterleavedBuffer.html
docs/api/core/InterleavedBuffer.html
+104
-0
docs/api/core/InterleavedBufferAttribute.html
docs/api/core/InterleavedBufferAttribute.html
+116
-0
docs/list.js
docs/list.js
+5
-0
未找到文件。
docs/api/core/InstancedBufferAttribute.html
0 → 100644
浏览文件 @
50132bac
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<base
href=
"../../"
/>
<script
src=
"list.js"
></script>
<script
src=
"page.js"
></script>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"page.css"
/>
</head>
<body>
[page:BufferAttribute]
→
<h1>
[name]
</h1>
<div
class=
"desc"
>
An instanced version of [page:BufferAttribute].
</div>
<h2>
Constructor
</h2>
<h3>
[name]( [page:TypedArray array], [page:Integer itemSize], [page:Number meshPerAttribute] )
</h3>
<div>
</div>
<h2>
Properties
</h2>
See [page:BufferAttribute] for inherited properties.
<h3>
[property:Number meshPerAttribute]
</h3>
<div>
Default is *1*.
</div>
<h3>
[property:Boolean isInstancedBufferAttribute]
</h3>
<div>
Default is *true*.
</div>
<h2>
Methods
</h2>
See [page:BufferAttribute] for inherited methods.
<h2>
Source
</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</body>
</html>
docs/api/core/InstancedBufferGeometry.html
0 → 100644
浏览文件 @
50132bac
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<base
href=
"../../"
/>
<script
src=
"list.js"
></script>
<script
src=
"page.js"
></script>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"page.css"
/>
</head>
<body>
[page:BufferGeometry]
→
<h1>
[name]
</h1>
<div
class=
"desc"
>
An instanced version of [page:BufferGeometry].
</div>
<h2>
Constructor
</h2>
<h3>
[name]( )
</h3>
<div>
</div>
<h2>
Properties
</h2>
See [page:BufferGeometry] for inherited properties.
<h3>
[property:Number maxInstancedCount]
</h3>
<div>
Default is *undefined*.
</div>
<h3>
[property:Boolean isInstancedBufferGeometry]
</h3>
<div>
Default is *true*.
</div>
<h2>
Methods
</h2>
See [page:BufferAttribute] for inherited methods.
<h3>
[property:Number addGroup]( start, count, materialIndex )
</h3>
<div>
</div>
<h2>
Source
</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</body>
</html>
docs/api/core/InstancedInterleavedBuffer.html
0 → 100644
浏览文件 @
50132bac
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<base
href=
"../../"
/>
<script
src=
"list.js"
></script>
<script
src=
"page.js"
></script>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"page.css"
/>
</head>
<body>
[page:InterleavedBuffer]
→
<h1>
[name]
</h1>
<div
class=
"desc"
>
An instanced version of [page:InterleavedBuffer].
</div>
<h2>
Constructor
</h2>
<h3>
[name]( [page:TypedArray array], [page:Integer itemSize], [page:Number meshPerAttribute] )
</h3>
<div>
</div>
<h2>
Properties
</h2>
See [page:InterleavedBuffer] for inherited properties.
<h3>
[property:Number meshPerAttribute]
</h3>
<div>
Default is *1*.
</div>
<h3>
[property:Boolean isInstancedInterleavedBuffer]
</h3>
<div>
Default is *true*.
</div>
<h2>
Methods
</h2>
See [page:InterleavedBuffer] for inherited methods.
<h2>
Source
</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</body>
</html>
docs/api/core/InterleavedBuffer.html
0 → 100644
浏览文件 @
50132bac
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<base
href=
"../../"
/>
<script
src=
"list.js"
></script>
<script
src=
"page.js"
></script>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"page.css"
/>
</head>
<body>
<h1>
[name]
</h1>
<div
class=
"desc"
>
</div>
<h2>
Constructor
</h2>
<h3>
[name]( [page:TypedArray array], [page:Integer stride] )
</h3>
<div>
</div>
<h2>
Properties
</h2>
<h3>
[property:Array array]
</h3>
<div>
</div>
<h3>
[property:Integer stride]
</h3>
<div>
</div>
<h3>
[property:Integer count]
</h3>
<div>
Gives the total number of elements in the array.
</div>
<h3>
[property:Boolean dynamic]
</h3>
<div>
Default is *false*.
</div>
<h3>
[property:Object updateRange]
</h3>
<div>
Object containing offset and count.
</div>
<h3>
[property:Number updateRange.offset]
</h3>
<div>
DEfault is *0*.
</div>
<h3>
[property:Number updateRange.count]
</h3>
<div>
Default is *-1*.
</div>
<h3>
[property:Integer version]
</h3>
<div>
A version number, incremented every time the needsUpdate property is set to true.
</div>
<h3>
[property:Integer isInterleavedBuffer]
</h3>
<div>
Default is *true*.
</div>
<h3>
[property:Integer needsUpdate]
</h3>
<div>
Default is *false*. Setting this to true increments [page:InterleavedBuffer.version version].
</div>
<h2>
Methods
</h2>
<h3>
[method:null setArray] ( [page:TypedArray array] )
</h3>
<div>
array - must be a Typed Array.
</div>
<h3>
[method:InterleavedBuffer setDynamic] ( [page:Boolean value] )
</h3>
<div>
Set [page:InterleavedBuffer.dynamic dynamic] to value.
</div>
<h3>
[method:InterleavedBuffer copy]( source )
</h3>
<div>
Copy the array, count, stride and value of dynamic to this.
</div>
<h3>
[method:InterleavedBuffer copyAt]( index1, attribute, index2 )
</h3>
<div>
</div>
<h3>
[method:InterleavedBuffer set]( value, offset )
</h3>
<div>
</div>
<h3>
[method:InterleavedBuffer clone]( index, x, y )
</h3>
<div>
</div>
<h2>
Source
</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</body>
</html>
docs/api/core/InterleavedBufferAttribute.html
0 → 100644
浏览文件 @
50132bac
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<base
href=
"../../"
/>
<script
src=
"list.js"
></script>
<script
src=
"page.js"
></script>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"page.css"
/>
</head>
<body>
<h1>
[name]
</h1>
<div
class=
"desc"
>
</div>
<h2>
Constructor
</h2>
<h3>
[name]( [page:InterleavedBuffer interleavedBuffer], [page:Integer itemSize], [page:Integer offset], [page:Boolean normalized] )
</h3>
<div>
</div>
<h2>
Properties
</h2>
<h3>
[property:InterleavedBuffer data]
</h3>
<div>
The [page:InterleavedBuffer InterleavedBuffer] instance passed in the constructor.
</div>
<h3>
[property:Integer itemSize]
</h3>
<div>
</div>
<h3>
[property:Integer offset]
</h3>
<div>
</div>
<h3>
[property:Boolean normalized]
</h3>
<div>
Default is *true*.
</div>
<h3>
[property:Boolean isInterleavedBufferAttribute]
</h3>
<div>
Default is *true*.
</div>
<h2>
Methods
</h2>
<h3>
[method:Integer count]()
</h3>
<div>
The value of [page:InterleavedBufferAttribute.data data].count.
</div>
<h3>
[method:Array array]()
</h3>
<div>
The value of [page:InterleavedBufferAttribute.data data].array.
</div>
<h3>
[method:null getX]( index )
</h3>
<div>
</div>
<h3>
[method:null getY]( index )
</h3>
<div>
</div>
<h3>
[method:null getZ]( index )
</h3>
<div>
</div>
<h3>
[method:null getW]( index )
</h3>
<div>
</div>
<h3>
[method:null setX]( index, x )
</h3>
<div>
</div>
<h3>
[method:null setY]( index, y )
</h3>
<div>
</div>
<h3>
[method:null setZ]( index, z )
</h3>
<div>
</div>
<h3>
[method:null setXY]( index, x, y )
</h3>
<div>
</div>
<h3>
[method:null setXYZ]( index, x, y, z )
</h3>
<div>
</div>
<h3>
[method:null setXYZW]( index, x, y, z, w )
</h3>
<div>
</div>
<h2>
Source
</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</body>
</html>
docs/list.js
浏览文件 @
50132bac
...
...
@@ -62,6 +62,11 @@ var list = {
[
"
EventDispatcher
"
,
"
api/core/EventDispatcher
"
],
[
"
Face3
"
,
"
api/core/Face3
"
],
[
"
Geometry
"
,
"
api/core/Geometry
"
],
[
"
InstancedBufferAttribute
"
,
"
api/core/InstancedBufferAttribute
"
],
[
"
InstancedBufferGeometry
"
,
"
api/core/InstancedBufferGeometry
"
],
[
"
InstancedInterleavedBuffer
"
,
"
api/core/InstancedInterleavedBuffer
"
],
[
"
InterleavedBuffer
"
,
"
api/core/InterleavedBuffer
"
],
[
"
InterleavedBufferAttribute
"
,
"
api/core/InterleavedBufferAttribute
"
],
[
"
Layers
"
,
"
api/core/Layers
"
],
[
"
Object3D
"
,
"
api/core/Object3D
"
],
[
"
Raycaster
"
,
"
api/core/Raycaster
"
],
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录