2017-09-12 22:42:36 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-08-05 18:51:38 +02:00
|
|
|
<class name="VisualScriptClassConstant" inherits="VisualScriptNode" version="3.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
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-06-27 13:24:03 +02:00
|
|
|
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 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>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="base_type" type="String" setter="set_base_type" getter="get_base_type" default=""Object"">
|
2017-10-15 05:11:00 +02:00
|
|
|
The constant's parent class.
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="constant" type="String" setter="set_class_constant" getter="get_class_constant" default="""">
|
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>
|