Context(s) | shading |
string getlightname()
Returns the name of the current light when called from within an illuminance loop or when a current light has been set using setcurrentlight.
string getlightname(int lightid)
Returns the name of the light referred to by the given integer light ID. Integer light IDs are used by some low-level VEX functions instead of strings for efficiency.
See also | |
light |
|