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...
PackedFloat32Array¶
A packed array of 32-bit floating-point values.
Description¶
An array specifically designed to hold 32-bit floating-point values (float). Packs data tightly, so it saves memory for large array sizes.
If you need to pack 64-bit floats tightly, see PackedFloat64Array.
Примітка
There are notable differences when using this API with C#. See Відмінності API C# в GDScript for more information.
Constructors¶
PackedFloat32Array ( PackedFloat32Array from ) |
|
PackedFloat32Array ( Array from ) |
Methods¶
void |
append_array ( PackedFloat32Array array ) |
void |
clear ( ) |
duplicate ( ) |
|
void |
|
is_empty ( ) const |
|
void |
|
void |
reverse ( ) |
void |
|
size ( ) const |
|
void |
sort ( ) |
to_byte_array ( ) const |
Operators¶
operator != ( PackedFloat32Array right ) |
|
operator + ( PackedFloat32Array right ) |
|
operator == ( PackedFloat32Array right ) |
|
operator [] ( int index ) |
Constructor Descriptions¶
PackedFloat32Array PackedFloat32Array ( )
Constructs an empty PackedFloat32Array.
PackedFloat32Array PackedFloat32Array ( PackedFloat32Array from )
Constructs a PackedFloat32Array as a copy of the given PackedFloat32Array.
PackedFloat32Array PackedFloat32Array ( Array from )
Constructs a new PackedFloat32Array. Optionally, you can pass in a generic Array that will be converted.