arcticPigs release V1.0 helpefiles |
![]() |
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
Name | Type | Description |
---|---|---|
focalLength(Float) | ![]() | Sets the focal length |
position | ![]() | The vector object describing the position. |
rotation | ![]() | The vector object describing the euler rotation. |
type(Integer) | ![]() | Returns SQ_CAMERA(2) |
Last Updated: 06/18/02 |