The following procedures, when defined, allow customization of Light Attribute Nodes:
global proc DL_userLightAttribsInit (string $light attr node name)
This procedure is called when a light attribute node is created using DLA_create()
(the 3Delight for Maya user interface always create light attribute nodes using that procedure). Invoking DL_userLightAttribsInit
is also the last thing done by DLA_Init()
. This procedure can be used to add extra attributes to a newly-created light attribute node, or to update these custom attributes when an older scene is loaded. It should be desgined so that it can be called several times with the same light attribute node during a session.
global proc DL_userLightAttribsAEtemplate (string $light attr node name)
This procedure is called at the end of AEdelightLightAttribsTemplate()
, which is responsible for defining the attribute editor template for light attribute nodes. DL_userLightAttribsAEtemplate
can be used to define editor template command for user-defined attributes added to the light attribute nodes.