$Param.Vector2() method

Signature:

static Vector2(x: number, y: number, opts?: Vec2Param): Vector2;

Parameters

Parameter

Type

Description

x

number

y

number

opts

Vec2Param

(Optional)

**Returns:**

Vector2