study/first_study/Library/PackageCache/com.unity.shadergraph@3686fafd4720/Documentation~/Integer-Node.md
jh04010421 739d49f1a0 Unity | 2026.01.20
수업 실습 파일
2026-01-20 11:01:57 +09: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;
```