Cylinder | This node provides a cylinder (and tube) geometry. |
This is a Geometry Renderer which has a Property Group to switch between different kinds of Geometries. It is also possible to extract the Property Group and make use of it inside the Content Editor. The Cylinder provides a Geometry with adjustable dimensions and, optionally, a hole if the Hole property is set to a non-zero value. The cylinder will be provided for the Geometry Renderer. By decreasing the Angle property, partial cylinders or pie wedges can be created. With the CounterClockwise property you can control in which direction the Cylinder is 'opened' via the Angle property.
Depending on the actual size of the object in the renderer, it might be necessary to increase the tessellation values Depth, Ring and Segment to preserve a truly round appearance. As always, using more triangles often improves the rendering or shading quality but decreases rendering performance.
The Texture properties can be used to adjust the way texture coordinates are generated. TopBottom is applied to the top and bottom ends of the cylinder and supports Flat mode which uses a planar mapping as well as Wrap mode which follows the curvature of the cylinder. Cover is only relevant when Angle is less than 360 degrees and applies to the cutaway region. FromHull interpolates between the UV values at the top and bottom of the cover, Flat uses a planar mapping.
The Bevel properties can be used to bevel the edges of the cylinder. The Radius defines the size of the Bevel and and the Edges dropdown lets you choose which edges are affected by this.