Holomatix

Log In / Register


Purchase
SceneObject.fieldOfView

Usage

mySceneObject.fieldOfView: Number

Description

Sets the angle of view, in degrees, which will be visible through the camera aperture if this scene object is set to be used as a camera. The aperture size is taken to be the width of the Flash stage.

 

Example

This example sets the field of view of scene object wideAngleCamera to be 90 degrees, and then sets it to be the active camera:

_root.movie3d.wideAngleCamera.fieldOfView = 90;
_root.movie3d.setCamera(_root.movie3d.wideAngleCamera);
 
< Prev   Next >


© Copyright 2000-2011 Holomatix Ltd. All rights reserved.