Dotloom TypeScript API
    Preparing search index...

    Interface Camera

    @dotloomjs/sdk — framework-agnostic TypeScript SDK for Dotloom.

    Importing this module has no side effects and touches no browser globals, so it is safe in SSR/build environments; browser APIs are used only when an engine, renderer or editor is created.

    interface Camera {
        center: Point;
        scale: number;
    }
    Index
    center: Point

    World point at the canvas center.

    scale: number

    CSS pixels per model unit.