mesh .light .assign  (  MeshObjectID ,  LightObjectID  )  
                                
Description :

This instruction assigns a light to a mesh. As a result, this light will light the mesh.

Parameters :

  • ObjectID of the mesh.
  • ObjectID of the light.

Notes :


An unlimited number of lights may be assigned to a mesh.

Examples :