PosZ =  light .position .z .get  (  LightObjectID  )  
                                     
Description :

This instruction returns the Z component of the world space position for a light.

Parameters :

  • ObjectID of the light.

Return Value :

  • Z component of the world space position.

Examples :