STATE_polygon_get_center

 

 


   calculate the center and returns in parameter "center"
   The location is returend through the center variable
   The location is always in WORLD_SPACE even if the polygon belongs to
   a dynamic object.
   A note regarding the function STATE_object_duplicate() :
   Note that this function will fail if the polygon belongs to an object
   that was duplicated with the "dont_duplicate_polygons_flag"
   In this case we will get the location of the polygon on the original copy of the object

 

 

Go to page 1      Select API

 

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