Bitbybit Docs
    Preparing search index...

    Class FlyToDto (Advanced.Navigation)

    Destination and motion for advanced.navigation.flyTo: the camera ends at cameraPosition looking at cameraTarget, getting there over animationSpeed seconds along the ease curve.

    Index

    Constructors

    Properties

    cameraPosition: Bit.Inputs.Base.Point3

    Where the camera ends up; with cameraTarget it sets the viewing direction and the orbit distance.

    [10, 10, 10]
    
    cameraTarget: Bit.Inputs.Base.Point3

    Point the camera looks at, and orbits around, once it arrives.

    [0, 0, 0]
    
    animationSpeed: number

    Flight time in seconds; 0 or less jumps to the view with no animation.

    2
    

    0.01

    Infinity

    0.01

    ease: easeEnum

    Easing curve of the flight: easeIn curves start gently, easeOut curves end gently and easeInOut curves do both; elastic, back and bounce curves overshoot or rebound.

    easeInOutCubic