You can customize the list of attributes displayed for each light in the Light Editor by modifying the corresponding LE*Template.xml file for each light (for example, LEareaLightTemplate.xml).
Template files can be found in the ../scripts/AETemplates folder of your installation directory and are prefixed with LE.
Alternatively, you can also set the MAYA_CUSTOM_TEMPLATE_PATH environment variable, similar to how you would customize the display of attributes in the Attribute Editor. See Attribute Editor templates.
To add a light attribute to the Light Editor
<!-- Declaration of the attributes that should be visible for this light type in the Light Editor. --> ... ... <attribute name='shadowColor' type='maya.float3'> <label>Shadow Color</label>; </attribute> <attribute name='coneAngle' type='maya.float'> <label>Cone Angle</label>; </attribute>
<description>View used by Light Editor</description> ... ... <property name='shadowColor'/> <property name='coneAngle'/>
The Light Editor displays columns for all attributes listed in the various templates. However, the attribute can only be modified for a light if that attribute exists for the specific light type.
In this example, a Shadow Color column is created in the Light Editor, and can be modified for all lights in the Light Editor. On the other hand, while a Cone Angle column is also created, it can only be modified for spot lights, as it is not applicable to the other lights such as an area light.