Viewpoints (or camera-positions) can be used both inside a script, where you can chain a whole sequence of viewpoint 'events', or you can use the arcticLayer::toViewpoint command, which will start executing immediately. Using a stock of predefined camera angles, you can let the user rotate, zoom and move the object as much he likes. Then, when your script requires the camera to be in a specific position, for example just prior to the start of an animation, you call toViewpoint and the object will smoothly scroll into the right position

Properties, Events and Methods

Name Type Description
focalLength(Float) PropertySets the focal length
position PropertyThe vector object describing the position.
rotation PropertyThe vector object describing the euler rotation.
type(Integer) PropertyReturns SQ_CAMERA(2)

 

©2000 arcticpigs. All rights reserved.
This is a draft version! The functionality of parts of the software are liable to change.