godot / 3.4 / classes / class_visualscriptoperator.html

VisualScriptOperator

Inherits: VisualScriptNode < Resource < Reference < Object

A Visual Script node that performs an operation on two values.

Description

Input Ports:

  • Data (variant): A
  • Data (variant): B

Output Ports:

  • Data (variant): result

Properties

Property Descriptions

Variant.Operator operator

Default

6

Setter

set_operator(value)

Getter

get_operator()

The operation to be performed. See Variant.Operator for available options.

Variant.Type type

Default

0

Setter

set_typed(value)

Getter

get_typed()

The type of the values for this operation. See Variant.Type for available options.

© 2014–2022 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.4/classes/class_visualscriptoperator.html