godot/modules/visual_script/doc_classes/VisualScriptClassConstant.xml

24 lines
912 B
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
2020-02-01 01:03:48 +00:00
<class name="VisualScriptClassConstant" inherits="VisualScriptNode" version="4.0">
<brief_description>
2017-10-15 03:11:00 +00:00
Gets a constant from a given class.
</brief_description>
<description>
This node returns a constant from a given class, such as [constant TYPE_INT]. See the given class' documentation for available constants.
2017-10-15 03:11:00 +00:00
[b]Input Ports:[/b]
none
[b]Output Ports:[/b]
- Data (variant): [code]value[/code]
</description>
<tutorials>
</tutorials>
<members>
<member name="base_type" type="StringName" setter="set_base_type" getter="get_base_type" default="&amp;&quot;Object&quot;">
2017-10-15 03:11:00 +00:00
The constant's parent class.
</member>
<member name="constant" type="StringName" setter="set_class_constant" getter="get_class_constant" default="&amp;&quot;&quot;">
2017-10-15 03:11:00 +00:00
The constant to return. See the given class for its available constants.
</member>
</members>
</class>