Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Vector2.Vector2

Vector2(x: float, y: float)
Vector2(float x, float y);
def Vector2(x as float, y as float)

Description

Constructs a new vector with given x, y components.