GetBloomColor

Definition

double, double, double GetBloomColor()

Description

This function returns the bloom color as three values of red, green and blue.

Return Value

Bloom color as three values of red, green and blue. Each value ranges from 0.0 to 1.0.

Example

red = 0.0
green = 0.0
blue = 0.0

function Init()
    red, green, blue = GetBloomColor()

    message = string.format("\nBloom color is : (%.2f, %.2f, %.2f)" , red, green, blue)
    PrintConsole(message)
end

function Update()

end
In this example, the GetBloomColor function returns the value of the red, green, and blue components of the bloom color. Then these three values are displayed on the console by the PrintConsole function.
adminGetBloomColor