Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.70

Description

Description:Controls the visibility of lens flare effects (applies to first-person and camera views). Settings persist through mission reloads, and are only reset when VBS is restarted.

Syntax

Syntax:setLensFlareEnabled enable
Parameters:
  • enable: Boolean - If true, then lens flare effects are visible.
Return Value:Nothing

Examples

Examples:
setLensFlareEnabled false;

Lens flares enabled (top) and disabled (bottom), for first-person (left) and camera (right) views:

Additional Information

See also: getLensFlareEnabled, setInscatteringIntensity
Multiplayer:
Problems:

Notes