how to get MESH width and height?

Software: Away3D 4.x

datouaizi, Member
Posted: 15 December 2011 09:16 AM   Total Posts: 98

how to get MESH width and height?

   

wajerrr, Newbie
Posted: 15 December 2011 10:44 AM   Total Posts: 5   [ # 1 ]

import away3d.tools.utils.Bounds;


Bounds.getObjectContainerBounds(_mesh)
width=Bounds.width
depth=Bounds.depth
height=Bounds.height

I hope this will help

cheers
Przemek

   

datouaizi, Member
Posted: 15 December 2011 11:24 AM   Total Posts: 98   [ # 2 ]

oh you are my god! thanks a lot!
and GOD!!! trouble you again.i have another question,


how to show or hide mesh bounds

   

wajerrr, Newbie
Posted: 15 December 2011 04:09 PM   Total Posts: 5   [ # 3 ]

_mesh.showBounds=true

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X