forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
list.js
278 lines (241 loc) · 10.5 KB
/
list.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
var list = {
"Manual": {
"Introduction": [
[ "Creating a scene", "manual/introduction/Creating-a-scene" ],
[ "Matrix transformations", "manual/introduction/Matrix-transformations" ]
]
},
"Reference": {
"Constants": [
[ "CustomBlendingEquation", "api/constants/CustomBlendingEquations" ],
[ "GLState", "api/constants/GLState" ],
[ "Materials", "api/constants/Materials" ],
[ "ShadowingTypes", "api/constants/ShadowingTypes" ],
[ "Textures", "api/constants/Textures" ]
],
"Cameras": [
[ "Camera", "api/cameras/Camera" ],
[ "CubeCamera", "api/cameras/CubeCamera" ],
[ "OrthographicCamera", "api/cameras/OrthographicCamera" ],
[ "PerspectiveCamera", "api/cameras/PerspectiveCamera" ]
],
"Core": [
[ "BufferAttribute", "api/core/BufferAttribute" ],
[ "BufferGeometry", "api/core/BufferGeometry" ],
[ "Clock", "api/core/Clock" ],
[ "EventDispatcher", "api/core/EventDispatcher" ],
[ "Face3", "api/core/Face3" ],
[ "Geometry", "api/core/Geometry" ],
[ "Object3D", "api/core/Object3D" ],
[ "Raycaster", "api/core/Raycaster" ]
],
"Lights": [
[ "AmbientLight", "api/lights/AmbientLight" ],
[ "DirectionalLight", "api/lights/DirectionalLight" ],
[ "DirectionalLightShadow", "api/lights/DirectionalLightShadow" ],
[ "HemisphereLight", "api/lights/HemisphereLight" ],
[ "Light", "api/lights/Light" ],
[ "LightShadow", "api/lights/LightShadow" ],
[ "PointLight", "api/lights/PointLight" ],
[ "SpotLight", "api/lights/SpotLight" ],
[ "SpotLightShadow", "api/lights/SpotLightShadow" ]
],
"Loaders": [
[ "AudioLoader", "api/loaders/AudioLoader" ],
[ "BabylonLoader", "api/loaders/BabylonLoader" ],
[ "BufferGeometryLoader", "api/loaders/BufferGeometryLoader" ],
[ "Cache", "api/loaders/Cache" ],
[ "ColladaLoader", "api/loaders/ColladaLoader" ],
[ "glTFLoader", "api/loaders/glTFLoader" ],
[ "ImageLoader", "api/loaders/ImageLoader" ],
[ "JSONLoader", "api/loaders/JSONLoader" ],
[ "Loader", "api/loaders/Loader" ],
[ "LoadingManager", "api/loaders/LoadingManager" ],
[ "MaterialLoader", "api/loaders/MaterialLoader" ],
[ "MTLLoader", "api/loaders/MTLLoader" ],
[ "OBJLoader", "api/loaders/OBJLoader" ],
[ "ObjectLoader", "api/loaders/ObjectLoader" ],
[ "PDBLoader", "api/loaders/PDBLoader" ],
[ "SVGLoader", "api/loaders/SVGLoader" ],
[ "TextureLoader", "api/loaders/TextureLoader" ],
[ "TGALoader", "api/loaders/TGALoader" ],
[ "XHRLoader", "api/loaders/XHRLoader" ]
],
"Materials": [
[ "LineBasicMaterial", "api/materials/LineBasicMaterial" ],
[ "LineDashedMaterial", "api/materials/LineDashedMaterial" ],
[ "Material", "api/materials/Material" ],
[ "MeshBasicMaterial", "api/materials/MeshBasicMaterial" ],
[ "MeshDepthMaterial", "api/materials/MeshDepthMaterial" ],
[ "MultiMaterial", "api/materials/MultiMaterial" ],
[ "MeshLambertMaterial", "api/materials/MeshLambertMaterial" ],
[ "MeshNormalMaterial", "api/materials/MeshNormalMaterial" ],
[ "MeshPhongMaterial", "api/materials/MeshPhongMaterial" ],
[ "MeshStandardMaterial", "api/materials/MeshStandardMaterial" ],
[ "PointsMaterial", "api/materials/PointsMaterial" ],
[ "RawShaderMaterial", "api/materials/RawShaderMaterial" ],
[ "ShaderMaterial", "api/materials/ShaderMaterial" ],
[ "SpriteMaterial", "api/materials/SpriteMaterial" ]
],
"Math": [
[ "Box2", "api/math/Box2" ],
[ "Box3", "api/math/Box3" ],
[ "Color", "api/math/Color" ],
[ "Euler", "api/math/Euler" ],
[ "Frustum", "api/math/Frustum" ],
[ "Line3", "api/math/Line3" ],
[ "Math", "api/math/Math" ],
[ "Matrix3", "api/math/Matrix3" ],
[ "Matrix4", "api/math/Matrix4" ],
[ "Plane", "api/math/Plane" ],
[ "Quaternion", "api/math/Quaternion" ],
[ "Ray", "api/math/Ray" ],
[ "Sphere", "api/math/Sphere" ],
[ "Spline", "api/math/Spline" ],
[ "Triangle", "api/math/Triangle" ],
[ "Vector2", "api/math/Vector2" ],
[ "Vector3", "api/math/Vector3" ],
[ "Vector4", "api/math/Vector4" ]
],
"Objects": [
[ "Bone", "api/objects/Bone" ],
[ "LensFlare", "api/objects/LensFlare" ],
[ "Line", "api/objects/Line" ],
[ "LineSegments", "api/objects/LineSegments" ],
[ "LOD", "api/objects/LOD" ],
[ "Mesh", "api/objects/Mesh" ],
[ "MorphAnimMesh", "api/objects/MorphAnimMesh" ],
[ "Points", "api/objects/Points" ],
[ "SkinnedMesh", "api/objects/SkinnedMesh" ],
[ "Skeleton", "api/objects/Skeleton" ],
[ "Sprite", "api/objects/Sprite" ]
],
"Renderers": [
[ "CanvasRenderer", "api/renderers/CanvasRenderer" ],
[ "WebGLRenderer", "api/renderers/WebGLRenderer" ],
[ "WebGLRenderTarget", "api/renderers/WebGLRenderTarget" ],
[ "WebGLRenderTargetCube", "api/renderers/WebGLRenderTargetCube" ]
],
"Renderers / Shaders": [
[ "ShaderChunk", "api/renderers/shaders/ShaderChunk" ],
[ "ShaderLib", "api/renderers/shaders/ShaderLib" ],
[ "UniformsLib", "api/renderers/shaders/UniformsLib" ],
[ "UniformsUtils", "api/renderers/shaders/UniformsUtils" ]
],
"Renderers / WebGL": [
[ "WebGLProgram", "api/renderers/webgl/WebGLProgram" ],
[ "WebGLShader", "api/renderers/webgl/WebGLShader" ],
[ "WebGLState", "api/renderers/webgl/WebGLState" ]
],
"Renderers / WebGL / Plugins": [
[ "LensFlarePlugin", "api/renderers/webgl/plugins/LensFlarePlugin" ],
[ "ShadowMapPlugin", "api/renderers/webgl/plugins/ShadowMapPlugin" ],
[ "SpritePlugin", "api/renderers/webgl/plugins/SpritePlugin" ]
],
"Scenes": [
[ "Fog", "api/scenes/Fog" ],
[ "FogExp2", "api/scenes/FogExp2" ],
[ "Scene", "api/scenes/Scene" ]
],
"Textures": [
[ "CompressedTexture", "api/textures/CompressedTexture" ],
[ "CubeTexture", "api/textures/CubeTexture" ],
[ "DataTexture", "api/textures/DataTexture" ],
[ "Texture", "api/textures/Texture" ]
],
"Extras": [
[ "SceneUtils", "api/extras/SceneUtils" ]
],
"Extras / Animation": [
[ "Animation", "api/extras/animation/Animation" ],
[ "AnimationHandler", "api/extras/animation/AnimationHandler" ],
[ "KeyFrameAnimation", "api/extras/animation/KeyFrameAnimation" ]
],
"Extras / Core": [
[ "Curve", "api/extras/core/Curve" ],
[ "CurvePath", "api/extras/core/CurvePath" ],
[ "Path", "api/extras/core/Path" ],
[ "Shape", "api/extras/core/Shape" ]
],
"Extras / Curves": [
[ "ArcCurve", "api/extras/curves/ArcCurve" ],
[ "CatmullRomCurve3", "api/extras/curves/CatmullRomCurve3" ],
[ "ClosedSplineCurve3", "api/extras/curves/ClosedSplineCurve3" ],
[ "CubicBezierCurve", "api/extras/curves/CubicBezierCurve" ],
[ "CubicBezierCurve3", "api/extras/curves/CubicBezierCurve3" ],
[ "EllipseCurve", "api/extras/curves/EllipseCurve" ],
[ "LineCurve", "api/extras/curves/LineCurve" ],
[ "LineCurve3", "api/extras/curves/LineCurve3" ],
[ "QuadraticBezierCurve", "api/extras/curves/QuadraticBezierCurve" ],
[ "QuadraticBezierCurve3", "api/extras/curves/QuadraticBezierCurve3" ],
[ "SplineCurve", "api/extras/curves/SplineCurve" ],
[ "SplineCurve3", "api/extras/curves/SplineCurve3" ]
],
"Extras / Geometries": [
[ "BoxBufferGeometry", "api/extras/geometries/BoxBufferGeometry" ],
[ "BoxGeometry", "api/extras/geometries/BoxGeometry" ],
[ "CircleBufferGeometry", "api/extras/geometries/CircleBufferGeometry" ],
[ "CircleGeometry", "api/extras/geometries/CircleGeometry" ],
[ "CylinderBufferGeometry", "api/extras/geometries/CylinderBufferGeometry" ],
[ "CylinderGeometry", "api/extras/geometries/CylinderGeometry" ],
[ "DodecahedronGeometry", "api/extras/geometries/DodecahedronGeometry" ],
[ "ExtrudeGeometry", "api/extras/geometries/ExtrudeGeometry" ],
[ "IcosahedronGeometry", "api/extras/geometries/IcosahedronGeometry" ],
[ "LatheBufferGeometry", "api/extras/geometries/LatheBufferGeometry" ],
[ "LatheGeometry", "api/extras/geometries/LatheGeometry" ],
[ "OctahedronGeometry", "api/extras/geometries/OctahedronGeometry" ],
[ "ParametricGeometry", "api/extras/geometries/ParametricGeometry" ],
[ "PlaneBufferGeometry", "api/extras/geometries/PlaneBufferGeometry" ],
[ "PlaneGeometry", "api/extras/geometries/PlaneGeometry" ],
[ "PolyhedronGeometry", "api/extras/geometries/PolyhedronGeometry" ],
[ "RingBufferGeometry", "api/extras/geometries/RingBufferGeometry" ],
[ "RingGeometry", "api/extras/geometries/RingGeometry" ],
[ "ShapeGeometry", "api/extras/geometries/ShapeGeometry" ],
[ "SphereBufferGeometry", "api/extras/geometries/SphereBufferGeometry" ],
[ "SphereGeometry", "api/extras/geometries/SphereGeometry" ],
[ "TetrahedronGeometry", "api/extras/geometries/TetrahedronGeometry" ],
[ "TextGeometry", "api/extras/geometries/TextGeometry" ],
[ "TorusBufferGeometry", "api/extras/geometries/TorusBufferGeometry" ],
[ "TorusGeometry", "api/extras/geometries/TorusGeometry" ],
[ "TorusKnotBufferGeometry", "api/extras/geometries/TorusKnotBufferGeometry" ],
[ "TorusKnotGeometry", "api/extras/geometries/TorusKnotGeometry" ],
[ "TubeGeometry", "api/extras/geometries/TubeGeometry" ]
],
"Extras / Helpers": [
[ "ArrowHelper", "api/extras/helpers/ArrowHelper" ],
[ "AxisHelper", "api/extras/helpers/AxisHelper" ],
[ "BoundingBoxHelper", "api/extras/helpers/BoundingBoxHelper" ],
[ "BoxHelper", "api/extras/helpers/BoxHelper" ],
[ "CameraHelper", "api/extras/helpers/CameraHelper" ],
[ "DirectionalLightHelper", "api/extras/helpers/DirectionalLightHelper" ],
[ "EdgesHelper", "api/extras/helpers/EdgesHelper" ],
[ "FaceNormalsHelper", "api/extras/helpers/FaceNormalsHelper" ],
[ "GridHelper", "api/extras/helpers/GridHelper" ],
[ "HemisphereLightHelper", "api/extras/helpers/HemisphereLightHelper" ],
[ "PointLightHelper", "api/extras/helpers/PointLightHelper" ],
[ "SpotLightHelper", "api/extras/helpers/SpotLightHelper" ],
[ "VertexNormalsHelper", "api/extras/helpers/VertexNormalsHelper" ],
[ "WireframeHelper", "api/extras/helpers/WireframeHelper" ]
],
"Extras / Objects": [
[ "ImmediateRenderObject", "api/extras/objects/ImmediateRenderObject" ],
[ "MorphBlendMesh", "api/extras/objects/MorphBlendMesh" ]
],
"Examples" : [
[ "CombinedCamera", "api/examples/cameras/CombinedCamera" ],
[ "LookupTable", "api/examples/Lut" ],
[ "SpriteCanvasMaterial", "api/examples/SpriteCanvasMaterial" ]
]
}
};
var pages = {};
for ( var section in list ) {
pages[ section ] = {};
for ( var category in list[ section ] ) {
pages[ section ][ category ] = {};
for ( var i = 0; i < list[ section ][ category ].length; i ++ ) {
var page = list[ section ][ category ][ i ];
pages[ section ][ category ][ page[ 0 ] ] = page[ 1 ];
}
}
}