Using a custom view port with Stage3DProxy

Software: Away3D 4.x

philostler, Newbie
Posted: 26 February 2013 10:41 AM   Total Posts: 1

I’ve written a custom view port class that maintains aspect ratio as the view is resized. I’ve successfully used this with Starling by simply passing in an instance of the class (which extends Rectangle) with references to the stage and the target resolution.

I’ve recently moved to using the Stage3DProxy as I now have multiple Starlings and Away3D instances to manage. I want to continue using my view port class but can’t find a method of passing this into the Stage3DProxy. The viewPort attribute on Stage3DProxy is read-only.

Is this possible with Away3D using the proxy atm?

Thanks

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X