engineSetDistantLightsEnabled
Client-side
Enables or disables San Andreas Online's native Project2DFX distant static lights.
Syntax
bool engineSetDistantLightsEnabled(bool enabled)Arguments
enabledboolDesired state.
Returns
true when the state was applied.
Ownership and lifecycle
Renderer counters live for the current process. Distant lights start disabled, and each client resource can opt in.
Where this comes from
SOURCECLuaEngineDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaEngineDefs.cpp INTRODUCED / EXTENDEDd0a91316bRead the commit and why the change was made RELATED CATEGORY HARNESS project2dfx-test Category-level coverage · test-resources/project2dfx-test
RELATED SA:O APIS
Read the system guide → Continue exploring
← Back to the SA:O Lua API · How Renderer and distant lights works →