github_url: | hide |
---|
A packed :ref:`Array<class_Array>` of 32-bit floating-point values.
An :ref:`Array<class_Array>` specifically designed to hold 32-bit floating-point values. Packs data tightly, so it saves memory for large array sizes.
Note: This type is passed by value and not by reference.
If you need to pack 64-bit floats tightly, see :ref:`PackedFloat64Array<class_PackedFloat64Array>`.
Constructs a new PackedFloat32Array
. Optionally, you can pass in a generic :ref:`Array<class_Array>` that will be converted.
Appends an element at the end of the array (alias of :ref:`push_back<class_PackedFloat32Array_method_push_back>`).
Appends a PackedFloat32Array
at the end of this array.
Returns true
if the array is empty.
Inserts a new element at a given position in the array. The position must be valid, or at the end of the array (idx == size()
).
Reverses the order of the elements in the array.
Appends an element at the end of the array.
Removes an element from the array by index.
Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size.
Changes the float at the given index.
Returns the size of the array.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。