VectorΒΆ

The interface represents 2D and 3D vectors in the form of an Array. The array size is equal to the vector dimension.

Two element vector

Array/Vector

Node representing a 2D vector.

0 (Number)

The x component of the vector.

1 (Number)

The y component of the vector.

Three element vector

Array/Vector

Node representing a 3D vector.

0 (Number)

The x component of the vector.

1 (Number)

The y component of the vector.

2 (Number)

The z component of the vector.