UNPKG

spatial-controls

Version:

Configurable 3D movement controls.

26 lines (25 loc) 672 B
import { RotationManager } from "../managers/RotationManager.js"; import { Strategy } from "./Strategy.js"; /** * A zoom strategy. * * @group Strategies */ export declare class ZoomStrategy implements Strategy { /** * A rotation manager. */ private readonly rotationManager; /** * Indicates whether this zoom strategy should zoom in. */ private zoomIn; /** * Constructs a new zoom strategy. * * @param rotationManager - A rotation manager. * @param zoomIn - Whether this strategy should zoom in. */ constructor(rotationManager: RotationManager, zoomIn: boolean); execute(flag: boolean): void; }