|
@@ -7,6 +7,8 @@
|
|
<link type="text/css" rel="stylesheet" href="../../../page.css" />
|
|
<link type="text/css" rel="stylesheet" href="../../../page.css" />
|
|
</head>
|
|
</head>
|
|
<body>
|
|
<body>
|
|
|
|
+ [page:Geometry] →
|
|
|
|
+
|
|
<h1>[name]</h1>
|
|
<h1>[name]</h1>
|
|
|
|
|
|
<div class="desc">todo</div>
|
|
<div class="desc">todo</div>
|
|
@@ -17,48 +19,20 @@
|
|
|
|
|
|
<h3>[name]([page:Float radiusTop], [page:Float radiusBottom], [page:Float height], [page:Integer radiusSegments], [page:Integer heightSegments], [page:Boolean openEnded])</h3>
|
|
<h3>[name]([page:Float radiusTop], [page:Float radiusBottom], [page:Float height], [page:Integer radiusSegments], [page:Integer heightSegments], [page:Boolean openEnded])</h3>
|
|
<div>
|
|
<div>
|
|
- radiusTop — Radius of the cylinder at the top.<br />
|
|
|
|
- radiusBottom — Radius of the cylinder at the bottom.<br />
|
|
|
|
- height — Height of the cylinder.<br />
|
|
|
|
- radiusSegments — Number of segmented faces around the circumference of the cylinder.<br />
|
|
|
|
- heightSegments — Number of rows of faces along the height of the cylinder.<br />
|
|
|
|
- openEnded - A Boolean indicating whether or not to cap the ends of the cylinder.
|
|
|
|
|
|
+ radiusTop — Radius of the cylinder at the top. Default is 20.<br />
|
|
|
|
+ radiusBottom — Radius of the cylinder at the bottom. Default is 20.<br />
|
|
|
|
+ height — Height of the cylinder. Default is 100.<br />
|
|
|
|
+ radiusSegments — Number of segmented faces around the circumference of the cylinder. Default is 8<br />
|
|
|
|
+ heightSegments — Number of rows of faces along the height of the cylinder. Default is 1.<br />
|
|
|
|
+ openEnded — A Boolean indicating whether the ends of the cylinder are open or capped. Default is false, meaning capped.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h2>Properties</h2>
|
|
<h2>Properties</h2>
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- <h3>.[page:number radiusSegments]</h3>
|
|
|
|
- <div>
|
|
|
|
- todo
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <h3>.[page:number radiusBottom]</h3>
|
|
|
|
<div>
|
|
<div>
|
|
- todo
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <h3>.[page:boolean openEnded]</h3>
|
|
|
|
- <div>
|
|
|
|
- todo
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <h3>.[page:number heightSegments]</h3>
|
|
|
|
- <div>
|
|
|
|
- todo
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <h3>.[page:number radiusTop]</h3>
|
|
|
|
- <div>
|
|
|
|
- todo
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <h3>.[page:number height]</h3>
|
|
|
|
- <div>
|
|
|
|
- todo
|
|
|
|
- </div>
|
|
|
|
|
|
+ Each of the contructor parameters is accessible as a property of the same name. Any modification of these properties after instantiation does not change the geometry.
|
|
|
|
+ </div>
|
|
|
|
|
|
|
|
|
|
<h2>Source</h2>
|
|
<h2>Source</h2>
|