This component defines nodes for rendering 3D text.
See also X3D specification of the Text component.
For complete demos and tests of these features,
text subdirectory inside our VRML/X3D demo models.
Text displayed in a scene. The text may be multi-line, it can be textured, displayed with various size, justification, and font styles. While the text is a flat object, it can be rotated in 3D scene, like any other plane in 3D.
Text is also "clickable" within
A whole line of text is just a simple quad, when considered for collision
Style of the font used by the
Most important properties (size, spacing, justify (horizontal and vertical), family, style) are supported.
TODO: Properties not implemented yet:
FontStyle: From section 6.22.3 Direction and justification: fields horizontal, leftToRight, topToBottom (we always behave like they had default values, TRUE, TRUE, TRUE). From section 6.22.4 Language: language field is ignored.
Text: length, maxExtent are
ignored (and handled like they had
default values, which means that the text is not stretched).