[Go to site: main page, start]

Interface CanvasViewPosition

interface CanvasViewPosition {
    level: string | null;
    scale: number;
    x: number;
    y: number;
}
Index

Properties

Properties

level: string | null

The last-viewed level ID for the scene.

scale: number

The zoom level which becomes stage.scale.x and y

x: number

The x-coordinate which becomes stage.pivot.x

y: number

The y-coordinate which becomes stage.pivot.y