This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Basics
Rendering
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Version Control
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

Unigine.LightLensFlare Class

This class is used to manage billboards used for the per-light lens flares effect.

Notice
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
Build: ()