format
typescript
Vector2.infinityclass: Vector2
description
(Read Only) Returns a Vector2 object representing positive infinity. In this object, both the x and y components are set to Infinity.
parameter
| param_name | type | description |
|---|
return
| type | description |
|---|---|
Vector2 |
code example
typescript
let infinity_v2 = Vector2.infinity;