Interface: View

View

Defines the camera direction, aperture and projection used to render media.

This is an abstract interface; the concrete implementations are RectilinearView and FlatView.

Methods

type() → {string}

Returns the view type, used by the Stage to determine the appropriate renderer for a given geometry and view.

See also Stage#registerRenderer.

Returns:
Type
string

Events

change

Signals that the view has changed.

resize

Signals that the size the view is using has changed.