Click or drag to resize

VariantOperator Enumeration

[Missing <summary> documentation for "T:Godot.Variant.Operator"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum Operator
Members
  Member nameValueDescription
Equal0

Equality operator (==).

NotEqual1

Inequality operator (!=).

Less2

Less than operator (<).

LessEqual3

Less than or equal operator (<=).

Greater4

Greater than operator (>).

GreaterEqual5

Greater than or equal operator (>=).

Add6

Addition operator (+).

Subtract7

Subtraction operator (-).

Multiply8

Multiplication operator (*).

Divide9

Division operator (/).

Negate10

Unary negation operator (-).

Positive11

Unary plus operator (+).

Module12

Remainder/modulo operator (%).

StringConcat13

String concatenation operator (+).

ShiftLeft14

Left shift operator (<<).

ShiftRight15

Right shift operator (>>).

BitAnd16

Bitwise AND operator (&).

BitOr17

Bitwise OR operator (|).

BitXor18

Bitwise XOR operator (^).

BitNegate19

Bitwise NOT operator (~).

And20

Logical AND operator (and or &&).

Or21

Logical OR operator (or or ||).

Xor22

Logical XOR operator (not implemented in GDScript).

Not23

Logical NOT operator (not or !).

In24

Logical IN operator (in).

Max25

Represents the size of the VariantOperator enum.

See Also