Vector

Navigation:  NxLib API > Common Tree Elements >

Vector

Previous pageReturn to chapter overviewNext page

The interface represents vectors (like 2D or 3D points) in form of the Array type. The array size is equal to the vector dimension.

Formats

Array/Vector

Node representing a 2D vector


0 (Number)

The x component of the vector.


1 (Number)

The y component of the 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.