Wraps the webgl viewer and provide higher level methods

Hierarchy

  • ComponentCamera

Constructors

Methods

  • Frames selected elements if there is an active selection; otherwise, frames all visible objects.

    Parameters

    • duration: number = 1

      Optional duration of the camera movement animation (default: 1).

    Returns void

  • Frames selected elements if there is an active selection; otherwise, does nothing.

    Parameters

    • duration: number = 1

      Optional duration of the camera movement animation (default: 1).

    Returns void

  • Frames all visible objects in the scene.

    Parameters

    • Optional source: Vim

      Optional VIM to specify the source of objects to frame.

    • duration: number = 1

      Duration of the camera movement animation (default: 1).

    Returns void

  • Returns the bounding box of all visible objects.

    Returns

    The bounding box of all visible objects.

    Parameters

    • Optional source: Vim

      Optional VIM to specify the source of visible objects.

    Returns Box3

Generated using TypeDoc