Set color brightness||doc135704

September 20, 2022

Format

 GameSettings:setBrightness(color) 

Description

Sets the brightness value of the color. The lightness of a color indicates how light or dark the color is.


Parameters

Variable name type Description
color Vector3 Luminance color component


Code Samples

Blockman.Instance().gameSettings:setBrightness({x=0.5,y=0.5,z=0.5})
print(Blockman.Instance().gameSettings:getBrightness())