Methods
addZoom
- addZoom(distance: number, duration: number, direction?: vec3): Promise<void>
-
Parameters
-
distance: number
-
duration: number
-
Optional
direction: vec3
Returns Promise<void>
clear
- clear(): void
-
Returns void
startRotation
- startRotation(): Promise<void>
-
Returns Promise<void>
stopRotation
- stopRotation(): void
-
Returns void
viewTo
- viewTo(end: {
height: number;
mv: mat4;
}, duration: number, easing?: EasingType): Promise<void>
-
Parameters
-
end: {
height: number;
mv: mat4;
}
-
duration: number
-
easing: EasingType = EasingType.SINUS2
Returns Promise<void>
Animates transition from the current view to target view