Bitbybit Docs
    Preparing search index...

    Class FlyToDto (Advanced.Navigation)

    Index

    Constructors

    • Parameters

      • OptionalcameraPosition: Point3
      • OptionalcameraTarget: Point3
      • OptionalanimationSpeed: number
      • Optionalease: easeEnum

      Returns FlyToDto

    Properties

    cameraPosition: Point3

    Camera position to fly to

    [10, 10, 10]
    
    cameraTarget: Point3

    Camera look at point to fly to

    [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 starts gently, easeOut ends gently, easeInOut does both; elastic, back and bounce overshoot.

    easeInOutCubic