@ujjwalvivek/tinyts
    Preparing search index...

    Interface CameraConfig

    Initial configuration for a Camera.

    interface CameraConfig {
        bounds?: { pos: Vec2; size: Vec2 };
        pos?: Vec2;
        rotation?: number;
        size?: Vec2;
        zoom?: number;
    }
    Index

    Properties

    bounds?: { pos: Vec2; size: Vec2 }

    World-space AABB the camera is clamped to.

    pos?: Vec2

    Camera center position in world space.

    rotation?: number

    Camera rotation angle in radians.

    size?: Vec2

    Viewport size in logical pixels.

    zoom?: number

    Camera zoom level.