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">Creates extruded geometry from a path shape</div>
|
---|
15 |
|
---|
16 |
|
---|
17 | <h2>Constructor</h2>
|
---|
18 |
|
---|
19 |
|
---|
20 | <h3>[name]([page:todo shapes], [page:Object options])</h3>
|
---|
21 | <div>
|
---|
22 | shapes â Shape or an array of shapes. <br />
|
---|
23 | options â Object that can contain the following parameters.
|
---|
24 |
|
---|
25 | <ul>
|
---|
26 | <li>curveSegments â int. number of points on the curves</li>
|
---|
27 | <li>steps â int. number of points used for subdividing segements of extrude spline</li>
|
---|
28 | <li>amount â int. Depth to extrude the shape</li>
|
---|
29 | <li>bevelEnabled â bool. turn on bevel</li>
|
---|
30 | <li>bevelThickness â float. how deep into the original shape bevel goes</li>
|
---|
31 | <li>bevelSize â float. how far from shape outline is bevel</li>
|
---|
32 | <li>bevelSegments â int. number of bevel layers</li>
|
---|
33 | <li>extrudePath â THREE.CurvePath. 3d spline path to extrude shape along. (creates Frames if (frames aren't defined)</li>
|
---|
34 | <li>frames â THREE.TubeGeometry.FrenetFrames. containing arrays of tangents, normals, binormals</li>
|
---|
35 | <li>material â int. material index for front and back faces</li>
|
---|
36 | <li>extrudeMaterial â int. material index for extrusion and beveled faces</li>
|
---|
37 | <li>uvGenerator â Object. object that provides UV generator functions</li>
|
---|
38 | </ul>
|
---|
39 |
|
---|
40 | </div>
|
---|
41 | <div>
|
---|
42 | todo
|
---|
43 | </div>
|
---|
44 |
|
---|
45 |
|
---|
46 | <h2>Properties</h2>
|
---|
47 |
|
---|
48 |
|
---|
49 | <h2>Methods</h2>
|
---|
50 |
|
---|
51 | <h3>.addShapeList ([page:todo shapes], [page:Object options])</h3>
|
---|
52 | <div>
|
---|
53 | shapes â todo <br />
|
---|
54 | options â todo
|
---|
55 | </div>
|
---|
56 | <div>todo</div>
|
---|
57 |
|
---|
58 | <h3>.addShape ([page:todo shape], [page:Object options])</h3>
|
---|
59 | <div>
|
---|
60 | shape â todo <br />
|
---|
61 | options â todo
|
---|
62 | </div>
|
---|
63 | <div>todo</div>
|
---|
64 |
|
---|
65 |
|
---|
66 | <h2>Source</h2>
|
---|
67 |
|
---|
68 | [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
---|
69 | </body>
|
---|
70 | </html>
|
---|