2d20fc39aa
We already removed it from the online docs with #35132. Currently it can only be "Built-In Types" (Variant types) or "Core" (everything else), which is of limited use. We might also want to consider dropping it from `ClassDB` altogether in Godot 4.0.
28 lines
944 B
XML
28 lines
944 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptClassConstant" inherits="VisualScriptNode" version="3.2">
|
|
<brief_description>
|
|
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.
|
|
[b]Input Ports:[/b]
|
|
none
|
|
[b]Output Ports:[/b]
|
|
- Data (variant): [code]value[/code]
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="base_type" type="String" setter="set_base_type" getter="get_base_type" default=""Object"">
|
|
The constant's parent class.
|
|
</member>
|
|
<member name="constant" type="String" setter="set_class_constant" getter="get_class_constant" default="""">
|
|
The constant to return. See the given class for its available constants.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|