Sector
- Last UpdatedFeb 19, 2025
- 2 minute read
The Sector node represents a way to show/hide one or more MWX contents, which has two benefits:
-
Performance is highly improved because the all the sector MWX objects are not traversed.
-
Visibility state of MWX objects and nodes are preserved.
A Mwx node can be assigned to a Sector node by setting its Sector attribute to the selected sector name.
Platform support
This node is fully supported on XR-Windows, XR-Portable Windows, XR-Portable iOS, XR-Portable Android, and XR-Portable 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 the Sector node.
<Sector name="System-01" visible="false" />
Sector fields
These are the fields for Sector node. Only the node-specific fields are indicated, not fields obtained by inheritance.
Field inheritance: NodeBase > Sector
|
Fields |
Type |
Use |
Default value |
Description |
|---|---|---|---|---|
|
visible |
sbool |
Optional |
true |
Enables switch on and switch off all the MWX registered within the sector. |