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