A game about forced loneliness, made by TACStudios
1# Integer Node
2
3## Description
4
5Defines 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.
6
7## Ports
8
9| Name | Direction | Type | Binding | Description |
10|:------------ |:-------------|:-----|:---|:---|
11| Out | Output | Float | None | Output value |
12
13## Controls
14
15| Name | Type | Options | Description |
16|:------------ |:-------------|:-----|:---|
17| | Integer | | Defines the output value. |
18
19## Generated Code Example
20
21The following example code represents one possible outcome of this node.
22
23```
24float _Integer = 1;
25```