VisualScriptLocalVarSet¶
Inherits: VisualScriptNode < Resource < Reference < Object
Changes a local variable’s value.
Description¶
Changes a local variable’s value to the given input. The new value is also provided on an output Data port.
Input Ports:
- Sequence
- Data (variant):
set
Output Ports:
- Sequence
- Data (variant):
get
Properties¶
Variant.Type | type | 0 |
String | var_name | "new_local" |
Property Descriptions¶
- Variant.Type type
Default | 0 |
Setter | set_var_type(value) |
Getter | get_var_type() |
The local variable’s type.
- String var_name
Default | "new_local" |
Setter | set_var_name(value) |
Getter | get_var_name() |
The local variable’s name.