UNPKG

@itwin/core-frontend

Version:
23 lines 952 B
/** @packageDocumentation * @module Views */ import { Animator, ViewAnimationOptions } from "./ViewAnimation"; import { ScreenViewport } from "./Viewport"; import { ViewPose } from "./ViewPose"; /** Animates the transition of a [[Viewport]] from one [Frustum]($common) to another. The viewport will render as many frames as necessary during the supplied duration. * @see [[Viewport.animateFrustumChange]] to conveniently animate a viewport from one frustum to another. * @public * @extensions */ export declare class FrustumAnimator implements Animator { options: ViewAnimationOptions; private _tweens; private _duration; /** Construct an animator that animates from `begin` to `end`. */ constructor(options: ViewAnimationOptions, viewport: ScreenViewport, begin: ViewPose, end: ViewPose); /** @internal */ animate(): boolean; /** @internal */ interrupt(): void; } //# sourceMappingURL=FrustumAnimator.d.ts.map