38

Building primitive shapes
Syntax: Text

  • A Text geometry node builds text
  • string - text to build
  • fontStyle - font control

  • [ text.wrl ]
    Shape {
        appearance Appearance {
            material Material { }
        }
        geometry Text {
            string [ "Text",
                     "Shape" ]
            fontStyle FontStyle {
                style "BOLD"
            }
        }
    }