[geometries' example] [run]It defines a cone which is centered in the local coordinate system and whose central axis is aligned with the local Y-axis.
{
field SFFloat bottomRadius 1 # radius of base
field SFFloat height 2
field SFBool side TRUE # specify whether side surface is created
field SFBool bottom TRUE # specify whether bottom cap is created
}
It is used as a node inside a Shape node.
Shape{ geometry Cone{bottomRadius 2 height 1 } }