STATE_object_get_location

 

 


  Returns the location of the object.
  
   Example A:
  		
  		double x,y,z;
  		DWORD object=STATE_object_get_first_object();
  		STATE_object_get_location(object, &x, &y, &z);
  
   Example B:
  
  		  Note that instead of doing it as shown below, it is easier to use the function STATE_object_get_location1() instead
  		double xyz[3];
  		DWORD object=STATE_object_get_first_object();
  		STATE_object_get_location(object, &xyz[0], &xyz[1], &xyz[2]);
  
  
  
   See also STATE_object_get_location1()
  

 

 

Go to page 1      Select API

 

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