Home Reference VEX VEX functions 

getlightname vex function

Contexts: fog , photon , surface

Tags: fog, shadow, surface

Returns the name of the current light when called from within an illuminance loop.

  1. string getlightname()

Returns the name of the current light when called from within an illuminance loop.