SoCylinder¶
-
InventorModule
¶ genre InventorNodesAutomatic
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def
Purpose¶
The module SoCylinder
represents a simple capped cylinder centered around the y-axis.
By default, the cylinder is centered at (0, 0, 0) and has a size ranging from -1 to 1 in all three dimensions. You can use the Radius
and Height
fields to create a cylinder with different dimensions.
Parameter Fields¶
Visible Fields¶
Parts¶
-
name:
parts
, type:
String
, default:
ALL
¶ Sets the visible parts of the cylinder; value are SIDES, TOP, BOTTOM, and ALL. Default is ALL.
Sides¶
-
name:
sides
, type:
Integer
, default:
0
¶ Sets the number of sides for the tessellation of the cylinder.
A default value of 0 means that the tessellation is auto-calculated based on the module
SoComplexity
. A value greater than 0 will force the module to always use that specified number of sides.
Sections¶
-
name:
sections
, type:
Integer
, default:
0
¶ Sets the number of sections for the tessellation of the cylinder.
A default value of 0 means that the tessellation is auto-calculated based on the module
SoComplexity
. A value greater than 0 will force the module to always use that specified number of sides.NOTE: Sections primarily make sense with per-vertex shading to allow specular highlights. If per-fragment shading is employed, setting this value to 1 will be optimal.