mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 20:29:03 +00:00
classref: Sync with current master branch (42c7f14)
This commit is contained in:
@@ -287,7 +287,9 @@ Searches the array for a value and returns its index or ``-1`` if not found. Opt
|
||||
|
||||
:ref:`float<class_float>` **get**\ (\ index\: :ref:`int<class_int>`\ ) |const| :ref:`🔗<class_PackedFloat32Array_method_get>`
|
||||
|
||||
Returns the 32-bit float at the given ``index`` in the array. This is the same as using the ``[]`` operator (``array[index]``).
|
||||
Returns the 32-bit float at the given ``index`` in the array. If ``index`` out-of-bounds or negative, this method fails and returns ``0.0``.
|
||||
|
||||
This method is similar (but not identical) to the ``[]`` operator. Most notably, when this method fails, it doesn't pause project execution if run from the editor.
|
||||
|
||||
.. rst-class:: classref-item-separator
|
||||
|
||||
@@ -515,6 +517,7 @@ Returns the :ref:`float<class_float>` at index ``index``. Negative indices can b
|
||||
Note that :ref:`float<class_float>` type is 64-bit, unlike the values stored in the array.
|
||||
|
||||
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
|
||||
.. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)`
|
||||
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
|
||||
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
|
||||
.. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
|
||||
|
||||
Reference in New Issue
Block a user