Files
Hasebe/Library/PackageCache/com.unity.shadergraph@aa24902485b0/Documentation~/Integer-Node.md
T
2026-09-21 12:15:57 +03:00

26 lines
617 B
Markdown

# Integer Node
## Description
Defines a constant **Float** value in the shader using an **Integer** field. Can be converted to a **Float** type [Property](Property-Types.md) with a **Mode** setting of **Integer** via the [Node's](Node.md) context menu.
## Ports
| Name | Direction | Type | Binding | Description |
|:--- |:---|:---|:---|:---|
| Out | Output | Float | None | Output value |
## Controls
| Control | Description |
|:---|:---|
| (Integer) | Defines the output value. |
## Generated Code Example
The following example code represents one possible outcome of this node.
```
float _Integer = 1;
```