IFClite TypeScript API
    Preparing search index...

    Interface CameraFrame

    The subset of a 3D camera the parallel projection actually needs.

    interface CameraFrame {
        position: Vec3;
        target: Vec3;
        up: Vec3;
    }
    Index
    position: Vec3

    Eye position (world, metres).

    target: Vec3

    Orbit target / look-at point (world, metres).

    up: Vec3

    Camera up hint. Need NOT be perpendicular to the view direction — it is re-orthogonalised here — but must not be the zero vector.