Practice_Unity/Library/PackageCache/com.unity.shadergraph@41211273cdd1/Documentation~/Not-Node.md
2025-10-15 17:21:20 +09: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;
```