Firstborn/Library/PackageCache/com.unity.shadergraph@12.1.8/Documentation~/Integer-Node.md
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00

740 B

Integer Node

Description

Defines a constant Float value in the shader using an Integer field. Can be converted to a Float type Property with a Mode setting of Integer via the Node's 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;