X3D Text

Text • Example

A two-sided text string.

Text

fontStyle

Field Type: X3DFontStyleNode
Access Type: inputOutput
Default Value: NULL
Value Range: ...
Description: A FontStyle node.

length

Field Type: MFFloat
Access Type: inputOutput
Default Value: Empty Array
Value Range: 0, ∞
Description: Sets the length of each text string.

maxExtent

Field Type: SFFloat
Access Type: inputOutput
Default Value: 0.0
Value Range: 0, ∞
Description: Limits and compresses all text strings if the length of the maximum string is longer than maximum extent.

string

Field Type: MFString
Access Type: inputOutput
Default Value: Empty Array
Value Range: ...
Description: Sets one or more text strings.

lineBounds

Field Type: MFVec2f
Access Type: outputOnly
Default Value: ...
Value Range: ...
Description: Set of 2D vectors that contain the 2D bounding box for each line of rendered text.

origin

Field Type: SFVec3f
Access Type: outputOnly
Default Value: ...
Value Range: ...
Description: 3D position that represents the upper left corner of textBounds.

textBounds

Field Type: SFVec2f
Access Type: outputOnly
Default Value: ...
Value Range: ...
Description: 2D vector that contains the X and Y dimensions of the 2D bounding box.

solid

Field Type: SFBool
Access Type: ...
Default Value: TRUE
Value Range: ...
Description: Specifies if one or both sides of the text is visible.

metadata

Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DMetadataObject
Description: Information about this node.