BIM.works SDKs - v1.5.0-b164
    Preparing search index...
    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    • get fov(): number

      Returns number

      The current fov (field of view)

    • set fov(fov: number): void

      Set the fov (field of view). Whenever a fov of 0 is set, the camera wil switch to orthographic view. Whenever the fov is set to any positive value below 120 it will switch to perspective view.

      Parameters

      • fov: number

        The new fov

      Returns void

    Methods

    • Set the current viewpoint, make sure to wait for this call to finish

      Parameters

      • viewPoint: ViewPoint

        The ViewPoint to set. When no fov has been set on the ViewPoint, the fov will be unchanged

      • animationTime: number

        The time to animate in ms, the default is 0 and indicates no animation at all

      Returns Promise<void>