Files
Test-Multiplayer/Library/PackageCache/com.unity.shadergraph@2c9221ffedf4/Documentation~/Not-Node.md
pelpanagiotis 329b7d3183 First Commit
2025-12-21 18:31:02 +02:00

19 lines
556 B
Markdown

# Not node
The Not node outputs the opposite of an input. If the input is true the output is false, otherwise the output is true. This node is useful for [branching](Branch-Node.md).
## Ports
| **Name** | **Direction** | **Type** | **Binding** | **Description** |
|:------------ |:-------------|:-----|:---|:---|
| **In** | Input | Boolean | None | The input value. |
| **Out** | Output | Boolean | None | The opposite of **In**. |
## Generated code example
The following example code represents one possible outcome of this node.
```
Out = !In;
```