ViewPoint: {
    direction?: Vector3d;
    position: Vector3d;
    target?: Vector3d;
    up?: Vector3d;

Type declaration

Param: position

The position of the virtual camera, always in meters

Param: target

The target of the camera (direction will be calculated from this and position). This is optional, but either target or direction is required. Most also be in meters

Param: direction

The direction of the camera. Either direction or target is required.

Param: up

Optional up-vector for the virtual camera