mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
54 lines
1.4 KiB
XML
54 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptConstant" inherits="VisualScriptNode" category="Core" version="3.0.alpha.custom_build">
|
|
<brief_description>
|
|
A Visual Script node which returns a constant value.
|
|
</brief_description>
|
|
<description>
|
|
A Visual Script node which returns the specified constant value.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<demos>
|
|
</demos>
|
|
<methods>
|
|
<method name="get_constant_type" qualifiers="const">
|
|
<return type="int" enum="Variant.Type">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_constant_value" qualifiers="const">
|
|
<return type="Variant">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_constant_type">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="type" type="int" enum="Variant.Type">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_constant_value">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="value" type="Variant">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="type" type="int" setter="set_constant_type" getter="get_constant_type" enum="Variant.Type">
|
|
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>
|