2017-09-12 22:42:36 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2018-02-27 13:40:43 +01:00
|
|
|
<class name="VisualScriptClassConstant" inherits="VisualScriptNode" category="Core" version="3.1">
|
2017-09-12 22:42:36 +02:00
|
|
|
<brief_description>
|
2017-10-15 05:11:00 +02:00
|
|
|
Gets a constant from a given class.
|
2017-09-12 22:42:36 +02:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2019-01-07 10:02:04 +01: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 05:11:00 +02:00
|
|
|
[b]Input Ports:[/b]
|
|
|
|
none
|
|
|
|
[b]Output Ports:[/b]
|
|
|
|
- Data (variant): [code]value[/code]
|
2017-09-12 22:42:36 +02:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<demos>
|
|
|
|
</demos>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2017-09-13 08:49:40 +02:00
|
|
|
<member name="base_type" type="String" setter="set_base_type" getter="get_base_type">
|
2017-10-15 05:11:00 +02:00
|
|
|
The constant's parent class.
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
2017-09-13 08:49:40 +02:00
|
|
|
<member name="constant" type="String" setter="set_class_constant" getter="get_class_constant">
|
2017-10-15 05:11:00 +02:00
|
|
|
The constant to return. See the given class for its available constants.
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|