Doc > Expressions > windowSize

Doc > Expressions > windowSize

Returns the size of the window.

Description

It takes 0 arguments.

windowSize()

Usage

  • windowSize() - returns a THREE.Vector2
  • windowSize().x - returns a float
  • windowSize().y - returns a float