STATE_light_set_distance_reach

 

 



  Set the distance that the light source can reach. The strength of the light is 
   decreasing as it gets further away from the light source. 
   A distance reach of -1 has a special meaning. It means an infinite reach.
   This is the default (infinite reach) so in order to see the effect of the distance
   one needs to call this function first with a value different than -1.
   Returns OK or VR_ERROR.
   Example:
   STATE_light_set_distance_reach(my_light, 100000);

 

 

Go to page 1      Select API

 

Copyright © 2007 3DSTATE Corporation. www.3dstate.com