Hierarchy

  • Viewport

Constructors

Properties

canvas: HTMLCanvasElement

HTML Canvas on which the model is rendered

text: HTMLElement

HTML Element in which text is rendered

Accessors

Methods

  • Resizes canvas and update camera to match new parent dimensions.

    Returns void

  • Returns a text renderer that will render html in an html element sibling to canvas

    Returns CSS2DRenderer

Generated using TypeDoc