charturbo - v0.1.0
    Preparing search index...

    Interface CharturboCameraState

    Orbit camera pose (getCameraState).

    interface CharturboCameraState {
        aspect: number;
        distance: number;
        eye: Vec3Tuple;
        fovY: number;
        orthoSize?: number;
        pitch: number;
        projection: "perspective" | "orthographic";
        target: Vec3Tuple;
        yaw: number;
    }
    Index
    aspect: number

    Viewport width / height

    distance: number

    Eye-to-target distance (world units)

    Eye position

    fovY: number

    Vertical field of view (rad)

    orthoSize?: number

    Vertical half-extent in orthographic mode.

    pitch: number

    Elevation of the eye above the target (rad, within ±π/2)

    projection: "perspective" | "orthographic"
    target: Vec3Tuple

    Point the camera orbits around and looks at

    yaw: number

    Rotation around the world y axis (rad)