godot/modules/visual_script/doc_classes/VisualScriptClassConstant.xml

58 lines
1.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualScriptClassConstant" inherits="VisualScriptNode" category="Core" version="3.0-alpha">
<brief_description>
2017-10-15 03:11:00 +00:00
Gets a constant from a given class.
</brief_description>
<description>
2017-10-15 03:11:00 +00:00
This node returns a constant from a given class, such as [@GlobalScope.TYPE_INT]. See the given class' documentation for available constants.
[b]Input Ports:[/b]
none
[b]Output Ports:[/b]
- Data (variant): [code]value[/code]
</description>
<tutorials>
</tutorials>
<demos>
</demos>
<methods>
<method name="get_base_type">
<return type="String">
</return>
<description>
</description>
</method>
<method name="get_class_constant">
<return type="String">
</return>
<description>
</description>
</method>
<method name="set_base_type">
<return type="void">
</return>
<argument index="0" name="name" type="String">
</argument>
<description>
</description>
</method>
<method name="set_class_constant">
<return type="void">
</return>
<argument index="0" name="name" type="String">
</argument>
<description>
</description>
</method>
</methods>
<members>
<member name="base_type" type="String" setter="set_base_type" getter="get_base_type">
2017-10-15 03:11:00 +00:00
The constant's parent class.
</member>
<member name="constant" type="String" setter="set_class_constant" getter="get_class_constant">
2017-10-15 03:11:00 +00:00
The constant to return. See the given class for its available constants.
</member>
</members>
<constants>
</constants>
</class>