• Zoom in on a certain part of the scene without modifying the camera direction

    Parameters

    • Optional scenePathsOrBB: string[] | Box3

      The zooming target, this can either be a certain scene path within the 3d model, a bounding box or the whole visible scene if the parameter is left empty

    • Optional transitionMS: number

      Duration of the movement in milliseconds

    • Optional sdCtrlName: string

      If not configured, the first shapediver instance of the configurator is used

    • queued: boolean = false

      true: execute camera movement after all previously added movement commands have been finished
      false: Abort current and pending movement commands and move to the desired position immediatly

    Returns Promise<SDUpdateQueueResult>

Generated using TypeDoc