ItemTextDisplay
- Last UpdatedDec 16, 2023
- 2 minute read
The ItemTextDisplay node is used for one-line text displays, such as eight-fragment LCD indicators.
-
ItemTextDisplay inherits from ItemTextureDisplay.

Platform support
This node is fully supported on XR-Windows platform.
It is partially supported on XR-Portable Windows, XR-Portable iOS, XR-Portable Android, and XR-P WASM platforms.
|
XR-WIN |
XR-P-WIN |
XR-P-IOS |
XR-P-AND |
XR-P-WASM |
|---|---|---|---|---|
|
Full support |
Partial support |
Partial support |
Partial support |
Partial support |
|
|
|
|
|
|
Code example
This is a code example for the ItemTextDisplay node.
<ItemTextDisplay name="PDI52125" value="35.21" />
Default Actions
|
Action |
Hotkey |
Text |
Description |
|---|---|---|---|
|
check |
X |
Check |
Checks the item. |
ItemTextDisplay fields
These are the fields for ItemTextDisplay node. Only the node-specific fields are indicated, not fields obtained by inheritance.
Field inheritance: NodeBase > NodeBaseMovable > Item > ItemTextureDisplay > ItemTextDisplay
|
Fields |
Type |
Use |
Default value |
Description |
|---|---|---|---|---|
|
backgroundClear |
ssbool |
Optional |
false |
Clears the displayed texture before redrawing. This is used when the background image (default or the backgroundImage) has transparency. |
|
backgroundImage |
sstring |
Optional |
Not set |
Replaces the default background image (textdisplay_default.tga). But it is clipped to default texture resolution. Use a background image of the same resolution of the default one. |
|
color |
svec3 |
Optional |
1 1 1 |
Text color. The color is expressed in normalized (0-1) RGB (0 0 0 for black, 1 1 1 for white). |
|
font |
sstring |
Optional |
Arial,Bold,24 |
The font to use for text. The font name must be a system font. Only Bold and Regular parameters are accepted. |
|
format |
sstring |
Optional |
@nodeName.value@ |
Defines the format for presenting the value. |
|
hAlign |
senum |
Optional |
Center |
Defines text horizontal alignment: Left, Center, or Right. |
|
value |
sstring |
Optional |
Null |
The text to display on the item texture. |