Interface Vector2

Represents a two-directional vector.

interface Vector2 {
    x: number;
    y: number;
}

Hierarchy (View Summary)

Properties

x y

Properties

x: number

X component of this vector.

y: number

Y component of this vector.