floor

fun floor(): Vector2

Rounds each component down to the nearest integer.

Return

A reference to this vector.