lensflare

Parent: object

Inherits from baseobject

Displays a the flare like you seewhen you take a photograph near the sun. Can be used to make a sun like object like in the screenshot below:

files/lenseflare.jpg

sun boolean
Whether or not this lensflare the sun. Used by the weather to change the brightness of the sun depending on cloud cover and fog.

resolution integer
How much detail in the lenseflare.

streakwidth integer
How long the streaks are

size integer
How big the lensflare is

The rest of the attributes are regarding the color and transparency of different part of the lensflare:

glowgradientfromcolor COLOR
glowgradientfromalpha float
glowgradienttocolor COLOR
glowgradienttoalpha float
ringgradientfromcolor COLOR
ringgradientfromalpha float
ringgradienttocolor COLOR
ringgradienttoalpha float
streaksgradientfromcolor COLOR
streaksgradientfromalpha float
streaksgradienttocolor COLOR
streaksgradienttoalpha float
raysgradientfromcolor COLOR
raysgradientfromalpha float
raysgradienttocolor COLOR
raysgradienttoalpha float
secondariesgradientfromcolor COLOR
secondariesgradientfromalpha float
secondariesgradienttocolor COLOR
secondariesgradienttoalpha float