Lensflare
- Last UpdatedOct 22, 2025
- 2 minute read
The Lensflare node maps a reference to a lensflare object in the scene.
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 Lensflare node.
<Lensflare name="alens1" lensFlare="DummyLens_setA" />
Position
The Lensflare node must be inside a context node, such as Context or Global.
Lensflare fields
These are the fields for Lensflare node. Only the node-specific fields are indicated, not fields obtained by inheritance.
Field inheritance: NodeBase > Lensflare
|
Fields |
Type |
Use |
Default value |
Description |
|---|---|---|---|---|
|
hide |
sevent |
Optional |
Not set |
Hides the lens flare. |
|
lensFlare |
sstring |
Optional |
Not set |
The name of the lens flare object defined inside the scene. |
|
position |
svec3 |
Optional |
Not set |
Sets the position for the lens flare. |
|
show |
sevent |
Optional |
Not set |
Activates the lens flare. |