Rasagar/Library/PackageCache/com.unity.visualeffectgraph/Documentation~/Operator-LogicNot.md

16 lines
858 B
Markdown
Raw Normal View History

2024-08-26 13:07:20 -07:00
# Not (Logic)
Menu Path : **Operator > Logic > Not**
The **Not** Operator takes a single input and outputs the result of a logical *not* operation. The result of **Not** A is `true` if A is `false`. This Operator is equivalent to the C# `!` operator.
## Operator properties
| **Input** | **Type** | **Description** |
| --------- | -------- | ------------------------------------------------------------ |
| **A** | bool | The value this Operator evaluates. If this is `false`, then **o** is `true`. |
| **Output** | **Type** | **Description** |
| ---------- | -------- | ------------------------------------------------------------ |
| **o** | bool | If **A** `true`, this value is `false`. Otherwise, if **A** is `false` this value is `true`. |