2026-10-21 20:45:23 +01:00
# Float Node
## Description
2026-11-30 19:13:17 +00:00
Defines a **Float** value in the shader. If [Port ](Port.md ) **X** is not connected with a [Wire ](Wire.md ) this [Node ](Node.md ) defines a constant **Float** .
2026-10-21 20:45:23 +01:00
## Ports
| Name | Direction | Type | Binding | Description |
|:------------ |:-------------|:-----|:---|:---|
| X | Input | Float | None | Input x component value |
| Out | Output | Float | None | Output value |
## Generated Code Example
The following example code represents one possible outcome of this node.
```
float _Vector1_Out = X;
```
2026-11-30 19:13:17 +00:00
## Additional resources
[!include[nodes-example-samples ](./snippets/nodes-example-samples.md )]