2017-09-12 22:42:36 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2021-04-26 13:14:51 +02:00
|
|
|
<class name="VisualScriptReturn" inherits="VisualScriptNode" version="3.4">
|
2017-09-12 22:42:36 +02:00
|
|
|
<brief_description>
|
2017-10-15 05:11:00 +02:00
|
|
|
Exits a function and returns an optional value.
|
2017-09-12 22:42:36 +02:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2017-10-15 05:11:00 +02:00
|
|
|
Ends the execution of a function and returns control to the calling function. Optionally, it can return a [Variant] value.
|
|
|
|
[b]Input Ports:[/b]
|
|
|
|
- Sequence
|
|
|
|
- Data (variant): [code]result[/code] (optional)
|
|
|
|
[b]Output Ports:[/b]
|
|
|
|
none
|
2017-09-12 22:42:36 +02:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="return_enabled" type="bool" setter="set_enable_return_value" getter="is_return_value_enabled" default="false">
|
2018-12-20 13:46:54 +01:00
|
|
|
If [code]true[/code], the [code]return[/code] input port is available.
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="return_type" type="int" setter="set_return_type" getter="get_return_type" enum="Variant.Type" default="0">
|
2017-10-15 05:11:00 +02:00
|
|
|
The return value's data type.
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|