NumberOfLights =  scene .light .number .get  (  SceneObjectID  )  
                                     
Description :

This instruction returns the number of lights assigned to a scene.

Parameters :

  • ObjectID of the scene.

Return Value :

  • Number of lights in the scene.

Examples :