# RenderView

Class · extends [`EventHandler`](https://api.playcanvas.com/engine/classes/EventHandler.md) · category: Graphics

Source: https://github.com/playcanvas/engine/blob/970d89f6d3bc6667f4e1f88153abd6e7e82ed52c/src/scene/render-view.js#L13

Represents a single view of the scene - a region of the render target rendered from a single
viewpoint. A standard camera produces one view, while in XR each eye (or screen) is a separate
view. This is the base class for [XrView](https://api.playcanvas.com/engine/classes/XrView.md).

## Accessors

### viewport

```ts
get viewport(): Vec4
```

A Vec4 (x, y, width, height) that represents the view's viewport. For a monoscopic screen it
defines the fullscreen view; for stereoscopic views (left/right eye) it defines the part of
the screen the view occupies.

## Inherited from [EventHandler](https://api.playcanvas.com/engine/classes/EventHandler.md)

- `fire(name: string, arg1?: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, arg6?: any, arg7?: any, arg8?: any): EventHandler`
- `hasEvent(name: string): boolean`
- `off(name?: string, callback?: HandleEventCallback, scope?: any): EventHandler`
- `on(name: string, callback: HandleEventCallback, scope?: any): EventHandle`
- `once(name: string, callback: HandleEventCallback, scope?: any): EventHandle`
