Vector3.Vector3

static function Vector3 (x : float, y : float, z : float) : Vector3

Description

Creates a new vector with given x, y, z components.

static function Vector3 (x : float, y : float) : Vector3

Description

Creates a new vector with given x, y components and sets z to zero.