Set character main light color||doc135711

September 20, 2022

Format

 GameSettings:setActorMainLightColor(color) 

Description

Sets the color of the character's main lights. The main light of the character is the main light source that illuminates the character, and the light intensity is high.


Parameters

Variable name type Description
color Vector3 light color value


Code Samples

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