mirror of
https://github.com/godotengine/godot-visual-script.git
synced 2025-12-31 21:48:42 +03:00
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
20 lines
868 B
XML
20 lines
868 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptBasicTypeConstant" inherits="VisualScriptNode" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
A Visual Script node representing a constant from the base types.
|
|
</brief_description>
|
|
<description>
|
|
A Visual Script node representing a constant from base types, such as [constant Vector3.AXIS_X].
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="basic_type" type="int" setter="set_basic_type" getter="get_basic_type" enum="Variant.Type" default="0">
|
|
The type to get the constant from.
|
|
</member>
|
|
<member name="constant" type="StringName" setter="set_basic_type_constant" getter="get_basic_type_constant">
|
|
The name of the constant to return.
|
|
</member>
|
|
</members>
|
|
</class>
|