ItemBasic
- Last UpdatedDec 16, 2023
- 2 minute read
Use the ItemBasic node to assess item behavior to a mesh, such as selectability or inspectability.
For example, use this kind of node to map an inspectable tank.
-
The ItemBasic node inherits from Item.
-
An ItemBasic instance has no dynamic.
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 ItemBasic.
<ItemBasic name="tank" />
ItemBasic fields
These are the fields for ItemBasic node. Only the node-specific fields are indicated, not fields obtained by inheritance.
Field inheritance: NodeBase > NodeBaseMovable > Item > ItemBasic
|
Fields |
Type |
Use |
Default value |
Description |
|---|---|---|---|---|
|
mesh |
sstring |
Optional |
Auto-populated |
Automatic name of the mesh. Value is automatically filled with recognized mesh.This can be overridden if the item does not support the naming convention. |
|
value |
sstring |
Optional |
Not set |
A generic string value associated to the item. This value does not affect item behavior and is not set internally. |