MwxSoup
- Last UpdatedFeb 19, 2025
- 3 minute read
The MwxSoup node loads an imported and converted external file (such as .rvm, .fbx, .zgl) into memory.
Converted Mwx soup files are not made of separated geometric entities, so they are faster, but less interactable then standard Mwx. See CAD importers and converters and Import Actions for MWX Soup for further details on the Mwx soup import and its customization.
The MwxSoup node inherits from Mwx and supports the same functionalities in terms of visibility related to context and sectors.
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 |
|
|
|
|
|
|
File metadata
File metadata (such as RVM metadata/Gateway metadata) is supported through a conversion of the source metadata file to JSON. The converted metadata is fully accessible by the scripters through the SJSON field data type. Automatic metadata loading is supported using the following simple rule: If at load time, a JSON file with the same name of the referenced MWX file is present in the same folder, the content of this JSON is loaded into the metadata field of the MWXSoup node.
RVM converted to MwxSoup
See Metadata import options and RVM converted to MWX for more details on RVM conversion.
MwxSoup fields
These are the fields for MwxSoup node. Only the node-specific fields are indicated, not fields obtained by inheritance.
Field inheritance: NodeBase > Mwx > MwxSoup
|
Fields |
Type |
Use |
Default value |
Description |
|---|---|---|---|---|
|
metadata |
sjson |
Optional |
Not set |
If at load time a JSON file with the same name of the referenced MWX file is present in the same folder, the content of this JSON is loaded into this field. The purpose of this field is to store the RVM metadata in a fully accessible way from script. |
|
position |
svec3 |
Optional |
0 0 0 |
Sets the position for the MwxSoup. It doesn't work for any part of the soup that is detached/aggregated. |