Basic HTML version of Foils prepared April 6 1997

Foil 124 Text Node Definition

From VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS -- Spring Semester 97. by Zeynep Ozdemir(Geoffrey C. Fox)


Text Shapes build 2D text in a VRML world
  • Use for Signs, notes, annotation, control panels
Shape { geometry
  • Text { string [] # exposedField MFString
  • fontStyle NULL # exposedField SFNode
  • length [] # exposedField MFFloat
  • maxExtent 0.0 # exposedField SFFloat
  • }
}
Text strings list the text to build in string field
Each entry in string vector generates a single line or column (depending on fontstyle field horizontal field value)
  • Text { string [ "CPS616", "Instructor : G. FOX" ] }
Note Text is viewed as being in "geometry" class



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Mar 15 1998