LightObjectID =  scene .light .get  (  SceneObjectID ,  LightName  )  
                                     
Description :

This instruction returns the ObjectID of the light currently assigned to a scene.

Parameters :

  • ObjectID of the scene.
  • Name of the light.

Return Handle :

  • ObjectID of the light if the search was successful, NULL otherwise.

Examples :