light .attenuate .range .set  (  LightObjectID ,  NearDistance ,  FarDistance  )  
                                          
Description :

This instruction sets the attenuation ranges of a light.

Parameters :

  • ObjectID of the light.
  • Position of the starting point of the attenuation.
  • Position of the ending point of the attenuation.

Notes :


These ranges are only useful for omni-directional light types.

Examples :