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