2017-09-12 20:42:36 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2019-04-01 10:33:56 +00:00
|
|
|
<class name="VisualScriptClassConstant" inherits="VisualScriptNode" category="Core" version="3.2">
|
2017-09-12 20:42:36 +00:00
|
|
|
<brief_description>
|
2017-10-15 03:11:00 +00:00
|
|
|
Gets a constant from a given class.
|
2017-09-12 20:42:36 +00:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2019-01-07 09:02:04 +00:00
|
|
|
This node returns a constant from a given class, such as [constant @GlobalScope.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]
|
2017-09-12 20:42:36 +00:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<demos>
|
|
|
|
</demos>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2017-09-13 06:49:40 +00:00
|
|
|
<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.
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
2017-09-13 06:49:40 +00:00
|
|
|
<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.
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|