iscenelight
A light.
Lights illuminate the scene nodes arounded them based on mesh vertexes. You probably want to bake the lightmap instead of using light nodes.
Inherits from iscenenode
Contents
| Name | Description |
|---|---|
| settype( type ) | Sets the light type |
settype( number type )
Sets the light type
Different light types illuminate the surrounding meshes in different ways.
Parameters
-
type (number)
The type the light should be
Defined at client/lua_api/scene/ilight.cpp:71