mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
74 lines
2.5 KiB
ReStructuredText
74 lines
2.5 KiB
ReStructuredText
:github_url: hide
|
|
|
|
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the VisualScriptYield.xml source instead.
|
|
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
|
|
|
.. _class_VisualScriptYield:
|
|
|
|
VisualScriptYield
|
|
=================
|
|
|
|
**Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
|
|
|
|
|
|
|
|
Properties
|
|
----------
|
|
|
|
+----------------------------------------------------+--------------------------------------------------------------+-------+
|
|
| :ref:`YieldMode<enum_VisualScriptYield_YieldMode>` | :ref:`mode<class_VisualScriptYield_property_mode>` | ``1`` |
|
|
+----------------------------------------------------+--------------------------------------------------------------+-------+
|
|
| :ref:`float<class_float>` | :ref:`wait_time<class_VisualScriptYield_property_wait_time>` | |
|
|
+----------------------------------------------------+--------------------------------------------------------------+-------+
|
|
|
|
Enumerations
|
|
------------
|
|
|
|
.. _enum_VisualScriptYield_YieldMode:
|
|
|
|
.. _class_VisualScriptYield_constant_YIELD_FRAME:
|
|
|
|
.. _class_VisualScriptYield_constant_YIELD_PHYSICS_FRAME:
|
|
|
|
.. _class_VisualScriptYield_constant_YIELD_WAIT:
|
|
|
|
enum **YieldMode**:
|
|
|
|
- **YIELD_FRAME** = **1**
|
|
|
|
- **YIELD_PHYSICS_FRAME** = **2**
|
|
|
|
- **YIELD_WAIT** = **3**
|
|
|
|
Property Descriptions
|
|
---------------------
|
|
|
|
.. _class_VisualScriptYield_property_mode:
|
|
|
|
- :ref:`YieldMode<enum_VisualScriptYield_YieldMode>` **mode**
|
|
|
|
+-----------+-----------------------+
|
|
| *Default* | ``1`` |
|
|
+-----------+-----------------------+
|
|
| *Setter* | set_yield_mode(value) |
|
|
+-----------+-----------------------+
|
|
| *Getter* | get_yield_mode() |
|
|
+-----------+-----------------------+
|
|
|
|
----
|
|
|
|
.. _class_VisualScriptYield_property_wait_time:
|
|
|
|
- :ref:`float<class_float>` **wait_time**
|
|
|
|
+----------+----------------------+
|
|
| *Setter* | set_wait_time(value) |
|
|
+----------+----------------------+
|
|
| *Getter* | get_wait_time() |
|
|
+----------+----------------------+
|
|
|
|
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
|
|
.. |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.)`
|