get 2D Dimensions (width/height) of a sphere (away3D Object)

Software: Away3D 3.x

o-g-sus, Newbie
Posted: 04 September 2012 01:42 PM   Total Posts: 1

Hi,
okay, I can get the 2D stage x,y position of a sphere like this:

var SCREEN_VERTEX:ScreenVertex = view.camera.screen ( _globes3D as ObjectContainer3D );
_globes2D[globeNo].x = SCREEN_VERTEX.x;
_globes2D[globeNo].y = SCREEN_VERTEX.y;


is there a similar (easy) way to get the with and height of a sphere on 2D stage (for away3D 3.6) ?

Thanks in advance

Oliver

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X