Node SymbolFactory.GetUnitCylinder(Double radius, Int32 num_circle_segments)

Creates a unit cylinder scenegraph node, aligned on the z axis going from z=0 to z=1.

Parameters

  • radius
    Type: Double
    Radius of the cylinder.
  • num_circle_segments
    Type: Int32
    Number of segments comprising each circle cross-section, higher values will generate rounder cylinders with more complex tessellation. Defaults to 8.

Return Value

Type: Node
Returns cylinder scenegraph node