Version: 
Back to list

Scene :: addLightComponent

Synopsis

   Add a light component to an occurrence

GUI Dialog

   

Script function

   scene.addLightComponent(occurrence) -> component

Parameters

   occurrence (Occurrence) : The occurrence to add the new component

Return value

   component (Component) : The new component added to occurrence