b087538119
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.
38 lines
1.2 KiB
XML
38 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptConstructor" inherits="VisualScriptNode" version="3.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
A Visual Script node which calls a base type constructor.
|
|
</brief_description>
|
|
<description>
|
|
A Visual Script node which calls a base type constructor. It can be used for type conversion as well.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="get_constructor" qualifiers="const">
|
|
<return type="Dictionary" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_constructor_type" qualifiers="const">
|
|
<return type="int" enum="Variant.Type" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_constructor">
|
|
<return type="void" />
|
|
<argument index="0" name="constructor" type="Dictionary" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_constructor_type">
|
|
<return type="void" />
|
|
<argument index="0" name="type" type="int" enum="Variant.Type" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<constants>
|
|
</constants>
|
|
</class>
|