b68dd2e189
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
20 lines
716 B
XML
20 lines
716 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptVariableGet" inherits="VisualScriptNode" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
Gets a variable's value.
|
|
</brief_description>
|
|
<description>
|
|
Returns a variable's value. "Var Name" must be supplied, with an optional type.
|
|
[b]Input Ports:[/b]
|
|
none
|
|
[b]Output Ports:[/b]
|
|
- Data (variant): [code]value[/code]
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="var_name" type="StringName" setter="set_variable" getter="get_variable" default="&""">
|
|
The variable's name.
|
|
</member>
|
|
</members>
|
|
</class>
|