PoolVector3Array
Array of Vector3.
Description
Array specifically designed to hold Vector3. Optimized for memory usage, does not fragment the memory. Note: This type is passed by value and not by reference.
Methods
Method Descriptions
- PoolVector3Array PoolVector3Array ( Array from )
PoolVector3Array. Optionally, you can pass in a generic Array that will be converted.
- append ( Vector3 vector3 ) push_back).
- append_array ( PoolVector3Array array )
PoolVector3Arrayat the end of this array.
- bool empty ( )
trueif the array is empty.
- int insert ( int idx, Vector3 vector3 )
idx == size()).
- invert ( ) Reverses the order of the elements in the array.
- push_back ( Vector3 vector3 ) Vector3 at the end.
- remove ( int idx ) Removes an element from the array by index.
- resize ( int idx ) Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size.
- set ( int idx, Vector3 vector3 ) Vector3 at the given index.
- int size ( ) Returns the size of the array.
