LightObjectID =  light .omni .create  (  PosX ,  PosY ,  PosZ  )  
                                          
Description :

This instruction creates an omni-directional light source at the specified world space position.

DEFAULT:
     The light is active.
     The light does not take attenuation ranges into account.
     The light is local.

Parameters :

  • X component of the position.
  • Y component of the position.
  • Z component of the position.

Return Handle :

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

Examples :