TextTexture
Texture which is filled by the text-string using the given fontStyle
Inheritance
Code
XML encoding
<TextTexture string='' length='' maxExtent='0.0' logFeature='' />
Classic encoding
TextTexture { string [""] length [] maxExtent 0.0 logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
textureProperties | SFNode | initializeOnly | TextureProperties | Definition of a texture property set. When set, the corresponding fields like repeat etc of the texture itself are ignored. | ||
fontStyle | SFNode | inputOutput | Contains a FontStyle node that describes which font to use for the text | |||
length | MFFloat | inputOutput | Array of length values for each text string in the local coordinate system. Each string is stretched or compressed to fit | |||
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
maxExtent | SFFloat | inputOutput | 0.0 | Limits/compresses all text strings if max string length is longer than maxExtent, as measured in local coordinate system | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
string | MFString | inputOutput | Single or multiple string values to present as Text | |||
image_changed | SFImage | outputOnly | sends a singe image on change | |||
lineBounds | MFVec2f | outputOnly | Limits the length of individual lines of the text. The length is measured in the local coordinate system. | |||
textBounds | SFVec2f | outputOnly | Provides the bounding box of the text geometry. | |||
textureBounds | MFVec2f | outputOnly | Offset and width, height of texture in pixels. |