PoolVector3Array

    An 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.

    • PoolVector3Array ( Array from )

    Constructs a new . Optionally, you can pass in a generic that will be converted.



    Appends a at the end of this array.


    • empty ( )

    Returns if the array is empty.


    Inserts a new element at a given position in the array. The position must be valid, or at the end of the array ().


    • void invert ( )

    Inserts a at the end.


    • void remove ( int idx )

    Removes an element from the array by index.


    • void resize ( 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.


    • void set ( int idx, vector3 )

    Returns the size of the array.