Skip to content

Format

typescript
RenderViewport.pixelScale

class: RenderViewport

Description

The pixel ratio of the current rendering viewport.

Parameters

param_nametypedescription

Return

typedescription
numberThe pixel ratio.

Code Example