BIM.works SDKs - v3.0.0-b.115
    Preparing search index...
    Index

    Constructors

    Methods

    • The 2D world coordinates under a canvas position in pixels

      Parameters

      • screenCoordinates: [number, number]

      Returns vec2

    • Pan in mm

      Parameters

      • x: number

        The x value (can be negative) in mm

      • y: number

        The y value (can be negative) in mm

      Returns void

    • Pan in pixels

      Parameters

      • x: number

        The x value (can be negative) in pixels

      • y: number

        The y value (can be negative) in pixels

      Returns void

    • Zooms the viewer by a multiplicative factor around an optional world-space pivot.

      Parameters

      • factor: number

        Multiplicative zoom factor.

      • Optionalpivot: number

        Optional world-space pivot.

      Returns void