hex-world
    Preparing search index...

    Interface HexWorldCameraOptions

    interface HexWorldCameraOptions {
        fov?: number;
        near?: number;
        far?: number;
        initialDistance?: number;
        initialPitch?: number;
        initialYaw?: number;
        minPitch?: number;
        maxPitch?: number;
        minDistance?: number;
        maxDistance?: number;
        tiltSpeed?: number;
        yawSpeed?: number;
    }
    Index

    Properties

    fov?: number

    Vertical field of view in degrees. Default 45.

    near?: number
    far?: number
    initialDistance?: number
    initialPitch?: number
    initialYaw?: number

    Initial compass heading in degrees; 0 (the default) looks toward −Z.

    minPitch?: number

    Shallowest tilt, in degrees above the horizon. Default 6 — low enough to put the horizon well inside the frame, which is what lets a sky, a sunset, or GodRays be seen at all. Raise it to keep the view strictly top-down.

    maxPitch?: number
    minDistance?: number
    maxDistance?: number
    tiltSpeed?: number

    Degrees of pitch change per pixel of vertical middle-drag. Default 0.3.

    yawSpeed?: number

    Degrees of yaw change per pixel of horizontal middle-drag. Default 0.3.