⚲
Class:
Light
Lua
C++
Edit
Light::SetFalloff
This method sets the light falloff mode, to control the way light fades with distance.
Syntax
void
SetFalloff
(const LightFalloffMode falloff)
Parameter
Description
falloff
light falloff mode, can be LIGHTFALLOFF_LINEAR or LIGHTFALLOFF_INVERSE_SQUARE
Copyright © 2006-2025 Leadwerks Software.
All rights reserved.
Leadwerks 4 Documentation