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
Name | Type |
---|---|
parameters | ViewParameters |
rendererSize | Vector2 |
Defined in
src/rendering/RenderView.ts:76
Properties
computedViewport
• computedViewport: Object
The viewport defining the dimensions and position of the view.
Type declaration
Name | Type |
---|---|
bottom | number |
height | number |
left | number |
top | number |
width | number |
Defined in
src/rendering/RenderView.ts:55
Methods
update
▸ update(): void
Updates the dimensions of the viewport based on the renderer size.
Returns
void