⚲
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 © 2025 Ultra Software.
All rights reserved.