Bitbybit Docs
    Preparing search index...

    Class PointOfInterestDto (Advanced.Navigation)

    A clickable marker for advanced.navigation.pointOfInterest: it sits at position with name as its label, and a click flies the camera to cameraPosition looking at cameraTarget over animationSpeed seconds along ease.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    name: string

    Label shown beside the marker; an empty name shows no label.

    Point of Interest
    
    position: Bit.Inputs.Base.Point3

    Where the marker sits in the scene.

    [0, 1, 0]
    
    cameraTarget: Bit.Inputs.Base.Point3

    Point the camera looks at, and orbits around, once a click has flown it to cameraPosition.

    [0, 0, 0]
    
    cameraPosition: Bit.Inputs.Base.Point3

    Where a click flies the camera to; with cameraTarget it sets the viewing direction and the orbit distance.

    [10, 10, 10]
    

    Look of the marker, ring and label. Leave it out for the defaults; properties left out of a given style keep their defaults too.

    undefined
    

    true

    animationSpeed: number

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

    2
    

    0.01

    Infinity

    0.01

    ease: easeEnum

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

    easeInOutCubic