Unity_2lab/2/Library/PackageCache/com.unity.shadergraph@2942ccd5a7d4/Documentation~/Float-Node.md

573 B

Float Node

Description

Defines a Float value in the shader. If Port X is not connected with an Edge this Node defines a constant Float.

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;