LODContainer
- Last UpdatedOct 22, 2025
- 2 minute read
An LODContainer enables you to apply detailed logic to a part of a graphic context.
-
All the information resides inside a MWX and is automatically used by the engine.
-
The LODContainer node links to the information inside MWX and can override settings or be used for debugging.
Platform support
This node is supported on XR-Windows platform only.
|
XR-WIN |
XR-P-WIN |
XR-P-IOS |
XR-P-AND |
XR-P-WASM |
|---|---|---|---|---|
|
Full support |
No support |
No support |
No support |
No support |
|
|
|
|
|
|
Code example
This is a code example for the LODContainer node.
<LODContainer name="Area0LOD" LODContainerName="AREA0|LOD" >
LODContainer fields
These are the fields for LODContainer node. Only the node-specific fields are indicated, not fields obtained by inheritance.
Field inheritance: NodeBase > LODContainer
|
Fields |
Type |
Use |
Default value |
Description |
|---|---|---|---|---|
|
LODContainerName |
sstring |
Mandatory |
Not set |
Name of the LOD container inside MWX content. |
|
LODManualShow |
sint |
Optional |
-1 |
Overrides range based LOD selection. Resetting to -1 returns to its value. |
|
LODNum |
sint |
Optional |
0 |
The currently displayed LOD level. |
|
LODRanges |
mfloat |
Optional |
Not set |
LOD ranges are expressed in meters. |