PackedVector3Array¶
A packed array of Vector3s.
Description¶
An array specifically designed to hold Vector3. Packs data tightly, so it saves memory for large array sizes.
Note
There are notable differences when using this API with C#. See C# API differences to GDScript for more information.
Constructors¶
PackedVector3Array ( PackedVector3Array from ) |
|
PackedVector3Array ( Array from ) |
Methods¶
void |
append_array ( PackedVector3Array array ) |
void |
clear ( ) |
duplicate ( ) |
|
void |
|
is_empty ( ) const |
|
void |
|
void |
reverse ( ) |
void |
|
size ( ) const |
|
void |
sort ( ) |
to_byte_array ( ) const |
Operators¶
operator != ( PackedVector3Array right ) |
|
operator * ( Transform3D right ) |
|
operator + ( PackedVector3Array right ) |
|
operator == ( PackedVector3Array right ) |
|
operator [] ( int index ) |
Constructor Descriptions¶
PackedVector3Array PackedVector3Array ( )
Constructs an empty PackedVector3Array.
PackedVector3Array PackedVector3Array ( PackedVector3Array from )
Constructs a PackedVector3Array as a copy of the given PackedVector3Array.
PackedVector3Array PackedVector3Array ( Array from )
Constructs a new PackedVector3Array. Optionally, you can pass in a generic Array that will be converted.
Note: When initializing a PackedVector3Array with elements, it must be initialized with an Array