Unigine.LightLensFlare Class
This class is used to manage billboards used for the per-light lens flares effect.
The lens flare effect must be enabled for the light source. This feature is available only for: Omni Lights, Projected Lights and World Lights.
See Also#
Description of lens flare settings.
LightLensFlare Class
Properties
float Intensity#
The current intensity of the lens flare billboard.
vec4 Color#
The current color of the lens flare billboard.
bool Rotate#
The A value indicating if rotation of the lens flare billboard is enabled. when enabled the top of the billboard will always face the center of the screen.
vec2 UVUpperRight#
The current uv texture coordinates of the upper rightcorner of the lens flare billboard.
vec2 UVLowerLeft#
The current uv texture coordinates of the lower left corner of the lens flare billboard.
float OffsetScale#
The current offset-dependent scale factor for the lens flare billboard.
float Offset#
The current offset value for the lens flare billboard. it is the offset from the light source along the direction of the light ray.
float Size#
The current size of the lens flare billboard.
string Name#
The current name of the lens flare billboard.
Members
Last update:
2024-12-13
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)