42

Building primitive shapes
Syntax: FontStyle

  • A FontStyle node describes a font
  • horizontal - horizontal or vertical
  • leftToRight and topToBottom - direction

  • [ textvert.wrl ]
    Shape {
        appearance Appearance {
            material Material { }
        }
        geometry Text {
            string . . .
            fontStyle FontStyle {
                horizontal  FALSE
                leftToRight TRUE
                topToBottom TRUE
            }
        }
    }