Viewport

A Viewport is used by the Editor to draw the scene in multiple regions of a canvas. This can be used for multipe views (top, side, perspective), and for the camera and light preview render.

Constructor

new L3D.Viewport()

Methods

displayImage(image)

Parameters
image GLTexture

handleEvent(e)

Returns true if the event occurs within this viewport. If the event is handled, then it extends the Event to include viewport information.

Parameters
e Event