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

    موضع الكاميرا للطيران إليه

    [10, 10, 10]
    
    cameraTarget: Point3

    نقطة نظر الكاميرا للطيران إليها

    [0, 0, 0]
    
    animationSpeed: number

    مدة الطيران بالثواني. القيمة 0 أو أقل تنتقل إلى العرض مباشرة بدون حركة.

    2
    

    0.01

    Infinity

    0.01

    ease: easeEnum

    منحنى التمهيد للطيران: easeIn يبدأ بلطف، easeOut ينتهي بلطف، easeInOut يفعل الاثنين؛ elastic و back و bounce تتجاوز الهدف.

    easeInOutCubic