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

@@ -8,6 +8,7 @@ FuncRef
=======
**Inherits:** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
**Category:** Core
Brief Description
@@ -36,22 +37,21 @@ However, by creating a ``FuncRef`` using the :ref:`@GDScript.funcref<class_@GDSc
Method Descriptions
-------------------
.. _class_FuncRef_call_func:
.. _class_FuncRef_call_func:
- :ref:`Variant<class_Variant>` **call_func** **(** **)** vararg
Calls the referenced function previously set by :ref:`set_function<class_FuncRef_set_function>` or :ref:`@GDScript.funcref<class_@GDScript_funcref>`.
.. _class_FuncRef_set_function:
.. _class_FuncRef_set_function:
- void **set_function** **(** :ref:`String<class_String>` name **)**
The name of the referenced function to call on the object, without parentheses or any parameters.
.. _class_FuncRef_set_instance:
.. _class_FuncRef_set_instance:
- void **set_instance** **(** :ref:`Object<class_Object>` instance **)**
The object containing the referenced function. This object must be of a type actually inheriting from :ref:`Object<class_Object>`, not a built-in type such as :ref:`int<class_int>`, :ref:`Vector2<class_Vector2>` or :ref:`Dictionary<class_Dictionary>`.