From 3.6 to 4.0 - ObjectContainer3D objectwidth and objectheight

Software: Away3D 4.x

Avatar
FlyOn, Jr. Member
Posted: 06 December 2011 11:23 AM   Total Posts: 36

For my ‘View’ classes which may contain any number of sub Views I used to extend ObjectContainer3D, and I used objectWidth and objectHeight a lot.

Since those do not exist anymore, what do I use?

Example of what I’m looking to do:
Show a circleView of 5 listViews of 10 iconViews each.
For the circleView to know how to position the listViews, it wants to know the ‘width’ and ‘height’ and ‘depth’ of these listViews, which only consists of other views. Should I implement something myself for my View class (ObjectContainer3D) to define its width by manualy going over the minX, maxX etc of all its children?

cheers!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X