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

NameTypeDescription
returnEnabled[get, set] boolIf true, the return input port is available.
returnType[get, set] Variant.TypeThe return value's data type.

Methods

NameDescription
getReturnType
isReturnValueEnabled
setEnableReturnValue
setReturnType