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:
13.12.2024
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter