Firstborn/Library/PackageCache/com.unity.shadergraph@12.1.11/Documentation~/Integer-Node.md
Schaken-Mods 9092858a58 updated to the latest editor
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
2023-05-07 17:43:11 -05:00

26 lines
740 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
| Name | Type | Options | Description |
|:------------ |:-------------|:-----|:---|
| | Integer | | Defines the output value. |
## Generated Code Example
The following example code represents one possible outcome of this node.
```
float _Integer = 1;
```