Set character brightness||doc135714

September 20, 2022

Format

 GameSettings:setActorBrightness(color) 

Description

This function is used to set the brightness of the character.


Parameters

Variable name type Description
color Vector3 light color value


Code Samples

Blockman.Instance().gameSettings:setActorBrightness({x=1.0,y=1.0,z=1.0})
print(Blockman.Instance().gameSettings:getActorBrightness())