classref: Add property overview and setter/getter like in editor docs

Output from godotengine/godot#22013.
Fixes #1729.
This commit is contained in:
Rémi Verschelde
2018-09-13 11:06:52 +02:00
parent f9caa4be29
commit ab3f908221
578 changed files with 33831 additions and 6706 deletions

View File

@@ -47,64 +47,63 @@ Integer Array. Contains integers. Optimized for memory usage, can't fragment the
Method Descriptions
-------------------
.. _class_PoolIntArray_PoolIntArray:
.. _class_PoolIntArray_PoolIntArray:
- :ref:`PoolIntArray<class_PoolIntArray>` **PoolIntArray** **(** :ref:`Array<class_Array>` from **)**
Create from a generic array.
.. _class_PoolIntArray_append:
.. _class_PoolIntArray_append:
- void **append** **(** :ref:`int<class_int>` integer **)**
Append an element at the end of the array (alias of :ref:`push_back<class_PoolIntArray_push_back>`).
.. _class_PoolIntArray_append_array:
.. _class_PoolIntArray_append_array:
- void **append_array** **(** :ref:`PoolIntArray<class_PoolIntArray>` array **)**
Append an ``PoolIntArray`` at the end of this array.
.. _class_PoolIntArray_insert:
.. _class_PoolIntArray_insert:
- :ref:`int<class_int>` **insert** **(** :ref:`int<class_int>` idx, :ref:`int<class_int>` integer **)**
Insert a new int at a given position in the array. The position must be valid, or at the end of the array (pos==size()).
.. _class_PoolIntArray_invert:
.. _class_PoolIntArray_invert:
- void **invert** **(** **)**
Reverse the order of the elements in the array.
.. _class_PoolIntArray_push_back:
.. _class_PoolIntArray_push_back:
- void **push_back** **(** :ref:`int<class_int>` integer **)**
Append a value to the array.
.. _class_PoolIntArray_remove:
.. _class_PoolIntArray_remove:
- void **remove** **(** :ref:`int<class_int>` idx **)**
Remove an element from the array by index.
.. _class_PoolIntArray_resize:
.. _class_PoolIntArray_resize:
- void **resize** **(** :ref:`int<class_int>` idx **)**
Set the size of the array. If the array is grown reserve elements at the end of the array. If the array is shrunk truncate the array to the new size.
.. _class_PoolIntArray_set:
.. _class_PoolIntArray_set:
- void **set** **(** :ref:`int<class_int>` idx, :ref:`int<class_int>` integer **)**
Change the int at the given index.
.. _class_PoolIntArray_size:
.. _class_PoolIntArray_size:
- :ref:`int<class_int>` **size** **(** **)**
Return the array size.