Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
PackedFloat64Array¶
A packed array of 64-bit floating-point values.
Description¶
An array specifically designed to hold 64-bit floating-point values (double). Packs data tightly, so it saves memory for large array sizes.
If you only need to pack 32-bit floats tightly, see PackedFloat32Array for a more memory-friendly alternative.
Примітка
There are notable differences when using this API with C#. See Відмінності API C# в GDScript for more information.
Constructors¶
PackedFloat64Array ( PackedFloat64Array from ) |
|
PackedFloat64Array ( Array from ) |
Methods¶
void |
append_array ( PackedFloat64Array array ) |
void |
clear ( ) |
duplicate ( ) |
|
void |
|
is_empty ( ) const |
|
void |
|
void |
reverse ( ) |
void |
|
size ( ) const |
|
void |
sort ( ) |
to_byte_array ( ) const |
Operators¶
operator != ( PackedFloat64Array right ) |
|
operator + ( PackedFloat64Array right ) |
|
operator == ( PackedFloat64Array right ) |
|
operator [] ( int index ) |
Constructor Descriptions¶
PackedFloat64Array PackedFloat64Array ( )
Constructs an empty PackedFloat64Array.
PackedFloat64Array PackedFloat64Array ( PackedFloat64Array from )
Constructs a PackedFloat64Array as a copy of the given PackedFloat64Array.
PackedFloat64Array PackedFloat64Array ( Array from )
Constructs a new PackedFloat64Array. Optionally, you can pass in a generic Array that will be converted.