Closed
Description
Your Godot version:
v4.4.stable.official [4c311cbee]
Issue description:
The resize
method of packed array returns int
, but the documentation does not explain what the value is. In practices it returns 0
and for what I understand from the source code it is an Error
. So, I presume the only other possible value is ERR_OUT_OF_MEMORY
.
Note that it is not hard to imagine that the return value is something related to the size.
URL to the documentation page (if already existing):
- https://docs.godotengine.org/en/stable/classes/class_packedbytearray.html#class-packedbytearray-method-resize
- https://docs.godotengine.org/en/stable/classes/class_packedcolorarray.html#class-packedcolorarray-method-resize
- https://docs.godotengine.org/en/stable/classes/class_packedfloat32array.html#class-packedfloat32array-method-resize
- https://docs.godotengine.org/en/stable/classes/class_packedfloat64array.html#class-packedfloat64array-method-resize
- https://docs.godotengine.org/en/stable/classes/class_packedint32array.html#class-packedint32array-method-resize
- https://docs.godotengine.org/en/stable/classes/class_packedint64array.html#class-packedint64array-method-resize
- https://docs.godotengine.org/en/stable/classes/class_packedstringarray.html#class-packedstringarray-method-resize
- https://docs.godotengine.org/en/stable/classes/class_packedvector2array.html#class-packedvector2array-method-resize
- https://docs.godotengine.org/en/stable/classes/class_packedvector3array.html#class-packedvector3array-method-resize
- https://docs.godotengine.org/en/stable/classes/class_packedvector4array.html#class-packedvector4array-method-resize