Deprecated: str_replace(): Passing null to parameter #1 ($search) of type array|string is deprecated in /var/www/vhosts/gamedevstudiogame.com/httpdocs/classes/client.php on line 124

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /var/www/vhosts/gamedevstudiogame.com/httpdocs/classes/client.php on line 124
Game dev studio

Classes

developer »

gameProject »

pedestrianController »

playerPlatform »

punishment »

team »

Concepts

Libraries

Objects

brightnessToLumen

Description

Converts the specified brightness level to a lumen value.

Arguments


Warning: Undefined array key 2 in /var/www/vhosts/gamedevstudiogame.com/httpdocs/templates/method_view.phtml on line 12

1 number brightness level.

Returns

1 number

the brightness in lumen. This is an arbitrary value and is only used for UI.

Example

local lumen = brightnessMap.brightnessToLumen(0.5)
-- returns 250