mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
28 lines
827 B
XML
28 lines
827 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptLocalVar" inherits="VisualScriptNode" version="4.0">
|
|
<brief_description>
|
|
Gets a local variable's value.
|
|
</brief_description>
|
|
<description>
|
|
Returns a local variable's value. "Var Name" must be supplied, with an optional type.
|
|
[b]Input Ports:[/b]
|
|
none
|
|
[b]Output Ports:[/b]
|
|
- Data (variant): [code]get[/code]
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="type" type="int" setter="set_var_type" getter="get_var_type" enum="Variant.Type" default="0">
|
|
The local variable's type.
|
|
</member>
|
|
<member name="var_name" type="StringName" setter="set_var_name" getter="get_var_name" default="@"new_local"">
|
|
The local variable's name.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|