Struct VisualScriptReturn
Exits a function and returns an optional value.
struct VisualScriptReturn
;
Ends the execution of a function and returns control to the calling function. Optionally, it can return a Variant
value.
Input Ports:
- Sequence
- Data (variant): result
(optional)
Output Ports:
none
Properties
Name | Type | Description |
---|---|---|
returnEnabled [get, set]
|
bool | If true , the return input port is available.
|
returnType [get, set]
|
Variant | The return value's data type. |
Methods
Name | Description |
---|---|
getReturnType
|
|
isReturnValueEnabled
|
|
setEnableReturnValue
|
|
setReturnType
|