Last change
on this file since 28897 was 28897, checked in by davidb, 10 years ago |
GUI front-end to server base plus web page content
|
File size:
1.5 KB
|
Line | |
---|
1 | <!DOCTYPE html>
|
---|
2 | <html lang="en">
|
---|
3 | <head>
|
---|
4 | <meta charset="utf-8" />
|
---|
5 | <script src="../../../list.js"></script>
|
---|
6 | <script src="../../../page.js"></script>
|
---|
7 | <link type="text/css" rel="stylesheet" href="../../../page.css" />
|
---|
8 | </head>
|
---|
9 | <body>
|
---|
10 | [page:Geometry] →
|
---|
11 |
|
---|
12 | <h1>[name]</h1>
|
---|
13 |
|
---|
14 | <div class="desc">CubeGeometry is the quadrilateral primitive geometry class. It is typically used for creating a cube or irregular quadrilateral of the dimensions provided with the 'width', 'height', and 'depth' constructor arguments.</div>
|
---|
15 |
|
---|
16 |
|
---|
17 | <h2>Constructor</h2>
|
---|
18 |
|
---|
19 |
|
---|
20 | <h3>[name]([page:Float width], [page:Float height], [page:Float depth], [page:Integer widthSegments], [page:Integer heightSegments], [page:Integer depthSegments])</h3>
|
---|
21 | <div>
|
---|
22 | width â Width of the sides on the X axis.<br />
|
---|
23 | height â Height of the sides on the Y axis.<br />
|
---|
24 | depth â Depth of the sides on the Z axis.<br />
|
---|
25 | widthSegments â Optional. Number of segmented faces along the width of the sides. Default is 1.<br />
|
---|
26 | heightSegments â Optional. Number of segmented faces along the height of the sides. Default is 1.<br />
|
---|
27 | depthSegments â Optional. Number of segmented faces along the depth of the sides. Default is 1.
|
---|
28 | </div>
|
---|
29 |
|
---|
30 | <h2>Properties</h2>
|
---|
31 |
|
---|
32 | <div>
|
---|
33 | Each of the constructor parameters is accessible as a property of the same name. Any modification of these properties after instantiation does not change the geometry.
|
---|
34 | </div>
|
---|
35 |
|
---|
36 | <h2>Source</h2>
|
---|
37 |
|
---|
38 | [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
---|
39 | </body>
|
---|
40 | </html>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.