Camera Zoom

Software: Away3D 4.x

Lucid, Member
Posted: 25 February 2012 04:35 PM   Total Posts: 93

How do we adjust the camera zoom / focus in Away 4.0.0. beta?

   

John Wilson, Member
Posted: 26 February 2012 10:24 AM   Total Posts: 62   [ # 1 ]

Hi,

You need to set up a perspective lens and then use fieldOfView, something like this:

var cameraLens:PerspectiveLens = new PerspectiveLens();
cameraLens.fieldOfView 50;
camera = new Camera3D();
camera.lens cameraLens
   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X