Skip to main content

Class: RenderView

Rendering.RenderView

Represents a render view with specific parameters. Don't instantiate this manually.

Implements

Constructors

constructor

new RenderView(parameters, rendererSize)

Don't instantiate this manually.

Parameters

NameType
parametersViewParameters
rendererSizeVector2

Defined in

src/rendering/RenderView.ts:76

Properties

computedViewport

computedViewport: Object

The viewport defining the dimensions and position of the view.

Type declaration

NameType
bottomnumber
heightnumber
leftnumber
topnumber
widthnumber

Defined in

src/rendering/RenderView.ts:55

Methods

update

update(): void

Updates the dimensions of the viewport based on the renderer size.

Returns

void

Defined in

src/rendering/RenderView.ts:97