b68dd2e189
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.
23 lines
1 KiB
XML
23 lines
1 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptComment" 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 used to annotate the script.
|
|
</brief_description>
|
|
<description>
|
|
A Visual Script node used to display annotations in the script, so that code may be documented.
|
|
Comment nodes can be resized so they encompass a group of nodes.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="description" type="String" setter="set_description" getter="get_description" default="""">
|
|
The text inside the comment node.
|
|
</member>
|
|
<member name="size" type="Vector2" setter="set_size" getter="get_size" default="Vector2(150, 150)">
|
|
The comment node's size (in pixels).
|
|
</member>
|
|
<member name="title" type="String" setter="set_title" getter="get_title" default=""Comment"">
|
|
The comment node's title.
|
|
</member>
|
|
</members>
|
|
</class>
|