group
- Last UpdatedAug 21, 2023
- 2 minute read
The group command groups a set of nodes together to present them hierarchically inside the runtime debug tool.
This node is for display purposes. Because it is not a real node, its name does not need to be unique, as with most other nodes. The same group name can be used in different parts of the script to group things together.
Platform support
This element is fully supported on XR-Windows, 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 |
Full support |
Full support |
Full support |
Full support |
|
|
|
|
|
|
Code example
This is a code example for group.
<group name="gc_valve_hand_01">
<group name="Valves">
<ItemValve name="hand_01" displayName="hand_01" displayValue="[*'{0:P0}',n:@hand_01.value@]" labelPosition="0 1.114389 0"/>
<share field="hand_01.value" direction="inout" stateZero="true"/>
</group>
</group>
Fields
These are the fields for group command.
|
Fields |
Type |
Use |
Default value |
Description |
|---|---|---|---|---|
|
name |
sstring |
Optional |
Not set |
The text to display in the debug tool to represent the group. |