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.
27 lines
744 B
XML
27 lines
744 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptConstant" inherits="VisualScriptNode" version="3.2">
|
|
<brief_description>
|
|
Gets a contant's value.
|
|
</brief_description>
|
|
<description>
|
|
This node returns a constant's value.
|
|
[b]Input Ports:[/b]
|
|
none
|
|
[b]Output Ports:[/b]
|
|
- Data (variant): [code]get[/code]
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="type" type="int" setter="set_constant_type" getter="get_constant_type" enum="Variant.Type" default="0">
|
|
The constant's type.
|
|
</member>
|
|
<member name="value" type="Variant" setter="set_constant_value" getter="get_constant_value">
|
|
The constant's value.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|