mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
classref: Add property overview and setter/getter like in editor docs
Output from godotengine/godot#22013. Fixes #1729.
This commit is contained in:
@@ -8,6 +8,7 @@ VisualScriptOperator
|
||||
====================
|
||||
|
||||
**Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
|
||||
|
||||
**Category:** Core
|
||||
|
||||
Brief Description
|
||||
@@ -15,6 +16,15 @@ Brief Description
|
||||
|
||||
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------------------------------------------+------------------------------------------------------+
|
||||
| :ref:`Variant.Operator<enum_@GlobalScope_Variant.Operator>` | :ref:`operator<class_VisualScriptOperator_operator>` |
|
||||
+-------------------------------------------------------------+------------------------------------------------------+
|
||||
| :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` | :ref:`type<class_VisualScriptOperator_type>` |
|
||||
+-------------------------------------------------------------+------------------------------------------------------+
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
@@ -35,8 +45,19 @@ Property Descriptions
|
||||
|
||||
- :ref:`Variant.Operator<enum_@GlobalScope_Variant.Operator>` **operator**
|
||||
|
||||
+----------+---------------------+
|
||||
| *Setter* | set_operator(value) |
|
||||
+----------+---------------------+
|
||||
| *Getter* | get_operator() |
|
||||
+----------+---------------------+
|
||||
|
||||
.. _class_VisualScriptOperator_type:
|
||||
|
||||
- :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` **type**
|
||||
|
||||
+----------+------------------+
|
||||
| *Setter* | set_typed(value) |
|
||||
+----------+------------------+
|
||||
| *Getter* | get_typed() |
|
||||
+----------+------------------+
|
||||
|
||||
|
||||
Reference in New Issue
Block a user