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