A cylindrical geometry implementing IIndexedGeometry, IImageMappedGeometry, and ILitGeometry. In this case, a cylinder is defined using a number of sides n: the shape of the cylinder is approximated as an extruded n-gon. Note that no attributes are applied to this class; it is intended only as input to appropriate model class. The vertices are constructed using indexing, and intended for drawing using PrimitiveType.TriangleStrip.
More...
|
| CylinderGeometry () |
| Initializes a CylinderGeometry object with 16 sides and a radius of 1 spanning from (0,0,0) to (0,0,1). More...
|
|
| CylinderGeometry (int sides) |
| Initializes a CylinderGeometry object with a given number of sides and a radius of 1 spanning from (0,0,0) to (0,0,1). More...
|
|
| CylinderGeometry (int sides, float radius) |
| Initializes a CylinderGeometry object with a given number of sides and radius spanning from (0,0,0) to (0,0,1). More...
|
|
| CylinderGeometry (int sides, float radius, Vector3 from, Vector3 to) |
| Initializes a CylinderGeometry object with a given number of sides and radius spanning between two arbitray points. More...
|
|
A cylindrical geometry implementing IIndexedGeometry, IImageMappedGeometry, and ILitGeometry. In this case, a cylinder is defined using a number of sides n: the shape of the cylinder is approximated as an extruded n-gon. Note that no attributes are applied to this class; it is intended only as input to appropriate model class. The vertices are constructed using indexing, and intended for drawing using PrimitiveType.TriangleStrip.
Durwella.Unplugged.Viz.CylinderGeometry.CylinderGeometry |
( |
| ) |
|
Initializes a CylinderGeometry object with 16 sides and a radius of 1 spanning from (0,0,0) to (0,0,1).
Durwella.Unplugged.Viz.CylinderGeometry.CylinderGeometry |
( |
int |
sides | ) |
|
Initializes a CylinderGeometry object with a given number of sides and a radius of 1 spanning from (0,0,0) to (0,0,1).
- Parameters
-
sides | The number of sides. |
Durwella.Unplugged.Viz.CylinderGeometry.CylinderGeometry |
( |
int |
sides, |
|
|
float |
radius |
|
) |
| |
Initializes a CylinderGeometry object with a given number of sides and radius spanning from (0,0,0) to (0,0,1).
- Parameters
-
sides | The number of sides. |
radius | The radius of the cylinder. |
Durwella.Unplugged.Viz.CylinderGeometry.CylinderGeometry |
( |
int |
sides, |
|
|
float |
radius, |
|
|
Vector3 |
from, |
|
|
Vector3 |
to |
|
) |
| |
Initializes a CylinderGeometry object with a given number of sides and radius spanning between two arbitray points.
- Parameters
-
sides | The number of sides. |
radius | The radius of the cylinder. |
from | The starting point of the cylinder. |
to | The ending point of the cylinder. |
The documentation for this class was generated from the following file: