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.
24 lines
957 B
XML
24 lines
957 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptTypeCast" inherits="VisualScriptNode" version="3.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
A Visual Script node that casts the given value to another type.
|
|
</brief_description>
|
|
<description>
|
|
[VisualScriptTypeCast] will perform a type conversion to an [Object]-derived type.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="base_script" type="String" setter="set_base_script" getter="get_base_script" default="""">
|
|
The target script class to be converted to. If none, only the [member base_type] will be used.
|
|
</member>
|
|
<member name="base_type" type="String" setter="set_base_type" getter="get_base_type" default=""Object"">
|
|
The target type to be converted to.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|