setrenderpriority
- Last UpdatedMay 02, 2023
- 2 minute read
The setrenderpriority statement enables you to change the rendering priority of an object, such as mesh, sky, human, particles.
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 setrenderpriority statement.
<Command name="setRender">
<setrenderpriority name="sea|sky" type="sky" priority="%0%" />
<setrenderpriority name="sea|scafo|sea" type="mesh" priority="%0%" />
<setrenderpriority name="limbo|limbo" type="mesh" priority="%0%" />
</Command>
Fields
These are the fields for setrenderpriority statement.
|
Fields |
Type |
Use |
Default value |
Description |
|---|---|---|---|---|
|
name |
sstring |
Mandatory |
No default value |
Object fully qualified name. It refers to the object data name, not to the logic name. |
|
priority |
sstring |
Mandatory |
No default value |
The render priority to set. |
|
type |
senum |
Mandatory |
No default value |
Specifies the type of the object to change the render priority. Accepted values are: mesh, sky, human, and particles. |