virtualSize property

Vector2 get virtualSize

In most cases virtualSize is the same as size, but in the cases when the viewport is emulating a different size, this is the size of the emulated viewport, for example the resolution for the FixedResolutionViewport.

Implementation

Vector2 get virtualSize => size;