This commit is contained in:
2026-11-24 15:51:02 +01:00
parent cca4d73e41
commit f4aa17114a
22092 changed files with 5042406 additions and 0 deletions
@@ -0,0 +1,29 @@
# 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;
```
## Additional resources
[!include[nodes-example-samples](./snippets/nodes-example-samples.md)]