| Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 | SDK Documentation | Builds | BA3 Home |
Modifies camera behavior so it behaves like the original Altus 1.0 iOS camera. More...
Public Member Functions | |
| void | setTrackUp (bool enabled, double animationDuration) |
| Enable or disable track-up mode. More... | |
| void | setTrackUpForwardDistance (double distance, double animationDuration) |
| Set track-up forward distance in pixels. More... | |
| void | setCameraLocation (Transform transform, double animationDuration) |
| Set camera location using a transform. More... | |
| void | setCameraLocation (double lat, double lon, double heightInMeters, double roll, double pitch, double yaw, double animationDuration) |
| Set camera location using geographic location, altitude, and camera roll, pitch, and yaw. More... | |
Modifies camera behavior so it behaves like the original Altus 1.0 iOS camera.
| void AltusUnified::ClassicCameraModifier::setCameraLocation | ( | Transform | transform, |
| double | animationDuration | ||
| ) |
Set camera location using a transform.
| void AltusUnified::ClassicCameraModifier::setCameraLocation | ( | double | lat, |
| double | lon, | ||
| double | heightInMeters, | ||
| double | roll, | ||
| double | pitch, | ||
| double | yaw, | ||
| double | animationDuration | ||
| ) |
Set camera location using geographic location, altitude, and camera roll, pitch, and yaw.
| lat | Latitude to set camera position to. |
| lon | Longitude to set camera position to. |
| heightInMeters | Altitude in meters above sea level to set camera position to. |
| roll | Roll of camera in degrees. |
| pitch | Pitch of camera in degrees. |
| yaw | Yaw of camera in degrees. Number of seconds to animate this transition. |
| void AltusUnified::ClassicCameraModifier::setTrackUp | ( | bool | enabled, |
| double | animationDuration | ||
| ) |
Enable or disable track-up mode.
| void AltusUnified::ClassicCameraModifier::setTrackUpForwardDistance | ( | double | distance, |
| double | animationDuration | ||
| ) |
Set track-up forward distance in pixels.