Atlas Engine
API Referenceatlas

ViewInformation

Camera position, target, and timing information supplied to frame-dependent delegates.

Module: atlas

Camera position, target, and timing information supplied to frame-dependent delegates.

Declaration

export type ViewInformation = {
        /**
         * The position in world space.
         */
        position: Position3d;
        /**
         * The point toward which the camera is oriented.
         */
        target: Point3d;
        /**
         * The elapsed runtime time, in seconds.
         */
        time: number;
        /**
         * The elapsed time since the previous frame, in seconds.
         */
        deltaTime: number;
    };

Properties

position

The position in world space.

position: Position3d;

target

The point toward which the camera is oriented.

target: Point3d;

time

The elapsed runtime time, in seconds.

time: number;

deltaTime

The elapsed time since the previous frame, in seconds.

deltaTime: number;

On this page