b087538119
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.
28 lines
1.0 KiB
XML
28 lines
1.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptOperator" 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 performs an operation on two values.
|
|
</brief_description>
|
|
<description>
|
|
[b]Input Ports:[/b]
|
|
- Data (variant): [code]A[/code]
|
|
- Data (variant): [code]B[/code]
|
|
[b]Output Ports:[/b]
|
|
- Data (variant): [code]result[/code]
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="operator" type="int" setter="set_operator" getter="get_operator" enum="Variant.Operator" default="6">
|
|
The operation to be performed. See [enum Variant.Operator] for available options.
|
|
</member>
|
|
<member name="type" type="int" setter="set_typed" getter="get_typed" enum="Variant.Type" default="0">
|
|
The type of the values for this operation. See [enum Variant.Type] for available options.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|