instantreality 1.0

Component:
Texturing
Status:
fully implemented
Structure type:
concrete
Standard:
Avalon

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
SFNode fontStyle SFNode inputOutput Contains a FontStyle node that describes which font to use for the text
SFImage image_changed SFImage outputOnly sends a singe image on change
MFFloat length MFFloat inputOutput Array of length values for each text string in the local coordinate system. Each string is stretched or compressed to fit
MFVec2f lineBounds MFVec2f outputOnly Limits the length of individual lines of the text. The length is measured in the local coordinate system.
MFString 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
SFFloat maxExtent SFFloat inputOutput 0.0 Limits/compresses all text strings if max string length is longer than maxExtent, as measured in local coordinate system
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
MFString string MFString inputOutput Single or multiple string values to present as Text
SFVec2f textBounds SFVec2f outputOnly Provides the bounding box of the text geometry.
MFVec2f textureBounds MFVec2f outputOnly Offset and width, height of texture in pixels.
SFNode textureProperties SFNode initializeOnly TextureProperties Definition of a texture property set. When set, the corresponding fields like repeat etc of the texture itself are ignored.