Unigine.ArrayVector Class
Allows using UnigineScript vectors.
ArrayVector Class
Members
ArrayVector ( ArrayVector vector ) #
Copy constructor.Arguments
- ArrayVector vector - Vector.
void Append ( Variable v ) #
Appends an item to the vector.Arguments
- Variable v - Item.
void Append ( int pos, Variable v ) #
Appends an item to the vector at a given position.Arguments
- int pos - Position index.
- Variable v - Item.
void Clear ( ) #
Clears all items of the vector.int Find ( Variable v ) #
Returns an index of a given item.Arguments
- Variable v - Item.
Return value
Index, if found; otherwise, -1.void Remove ( int pos ) #
Removes an item from a given position of the vector.Arguments
- int pos - Position index.
void Resize ( int size ) #
Resizes a vector.Arguments
- int size - New vector capacity.
int Size ( ) #
Returns vector length.Return value
Vector length.Last update:
2024-12-13
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)