summaryrefslogtreecommitdiff
path: root/modules/visual_script/doc_classes/VisualScriptOperator.xml
blob: 73d28899f6ff52e33c3cd34c0e9f9865b0252d05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualScriptOperator" inherits="VisualScriptNode" version="4.0">
	<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>
	<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>
</class>