Stores exported data on a light.
storelightexoprts(string lightname)
Before calling this method, assign the values you want to export to export parameters.
surface test(export vector perlight = {0,0,0}) { int i; int lights[] = array(); lights = getlights(); for (i = 0; i < arraylength(lights); i++) { perlight = set(lights[i], 0, 0); storelightexports(getlightname(lights[i])); } }