New to_***_array method to decode PackedByteArray to Packed***Array

Documentation for new PackedByteArray::to_***_array methods
Documentation for to_byte_array method for PackedInt32/Int64/Float32/Float64Array
This commit is contained in:
ChristopheClaustre
2021-07-17 00:36:45 +02:00
parent 0e265b047e
commit 20818c12b7
6 changed files with 85 additions and 0 deletions

View File

@ -201,6 +201,8 @@
<return type="PackedByteArray">
</return>
<description>
Returns a copy of the data converted to a [PackedByteArray], where each element have been encoded as 8 bytes.
The size of the new array will be [code]float64_array.size() * 8[/code].
</description>
</method>
</methods>