ItemStateDisplay
- Last UpdatedDec 16, 2023
- 2 minute read
The ItemStateDisplay node is used to map items that have 1-n meshes. The ItemStateDisplay represents a different mesh of its list, depending on its current value.
-
You can use single mesh ItemStateDisplay to add interaction to groups of objects (such as an alarm annunciator) or to static equipment (such as a fire extinguisher).
-
The ItemStateDisplay inherits from Item.

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 ItemStateDisplay node.
<ItemStateDisplay name="XI52061" />
Default Actions
|
Action |
Hotkey |
Text |
Description |
|---|---|---|---|
|
check |
X |
Check |
Checks the item. |
ItemStateDisplay fields
These are the fields for ItemStateDisplay node. Only the node-specific fields are indicated, not fields obtained by inheritance.
Field inheritance: NodeBase > NodeBaseMovable > Item > ItemStateDisplay
|
Fields |
Type |
Use |
Default value |
Description |
|---|---|---|---|---|
|
meshes |
sstring |
Optional |
Auto-populated |
Automatic name of the state meshes. Can be overridden if the item does not support the naming convention. |
|
numberOfStates |
sint |
Optional |
2 |
Defines how many states this item has. |
|
value |
sint |
Optional |
0 |
Defines the state of the item and which meshes to display. |