interface FlyToParams {
    aabb?: FloatArrayParam;
    duration?: number;
    eye?: FloatArrayParam;
    fitFOV?: number;
    length?: number;
    look?: FloatArrayParam;
    orthoScale?: number;
    poi?: FloatArrayParam;
    projection?: number;
    up?: FloatArrayParam;
}

Properties

Target axis-aligned bounding box (AABB) in world coordinates for the camera to focus on.

duration?: number

Duration of the animation in seconds.

Target position for the camera eye.

fitFOV?: number

In perspective projection mode, defines how much of the field-of-view the bounding volume should occupy upon arrival. Expressed in degrees.

length?: number

Target distance between the camera and its point-of-interest.

Target position for the camera to look at.

orthoScale?: number

Target orthographic scale, used when transitioning to an orthographic projection.

Optional point-of-interest in world coordinates for the camera to focus on.

projection?: number

Specifies the projection type to transition to. Use either PerspectiveProjectionType or OrthoProjectionType.

Target "up" vector for the camera orientation.