Enum Variant.Operator
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum Variant.Operator : long
Fields
Add = 6
Addition operator (
+
).And = 20
Logical AND operator (
and
or&&
).BitAnd = 16
Bitwise AND operator (
&
).BitNegate = 19
Bitwise NOT operator (
~
).BitOr = 17
Bitwise OR operator (
|
).BitXor = 18
Bitwise XOR operator (
^
).Divide = 9
Division operator (
/
).Equal = 0
Equality operator (
==
).Greater = 4
Greater than operator (
>
).GreaterEqual = 5
Greater than or equal operator (
>=
).In = 24
Logical IN operator (
in
).Less = 2
Less than operator (
<
).LessEqual = 3
Less than or equal operator (
<=
).Max = 25
Represents the size of the Variant.Operator enum.
Module = 12
Remainder/modulo operator (
%
).Multiply = 8
Multiplication operator (
*
).Negate = 10
Unary negation operator (
-
).Not = 23
Logical NOT operator (
not
or!
).NotEqual = 1
Inequality operator (
!=
).Or = 21
Logical OR operator (
or
or||
).Positive = 11
Unary plus operator (
+
).Power = 13
Power operator (
**
).ShiftLeft = 14
Left shift operator (
<<
).ShiftRight = 15
Right shift operator (
>>
).Subtract = 7
Subtraction operator (
-
).Xor = 22
Logical XOR operator (not implemented in GDScript).