STATE_background_set_distance

 

 


  The purpose of the distance value is to make the background act more realistic
  by moving up and down according to the camera movement
  The distance value:
  The bigger this number is, the more apparent are the 
  changes in the height  of the background, 
  when the height of the camera changes.  The  background moves 
  up and down according to the height of the camera, to  make it 
  look real (example: If you have a car going up or down a hill, the sky's
  height must change(the sky is the background).) 
   example: STATE_background_set_distance(bg_handle, 30000);

 

 

Go to page 1      Select API

 

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