Class reference
VisualShaderNodeUIntFunc
Inherits VisualShaderNode
An unsigned scalar integer function to be used within the visual shader graph.
Description
Accept an unsigned integer scalar (x) to the input port and transform it according to function.
Properties
int function = 0
int function = 0A function to be applied to the scalar.
Constants
FUNC_NEGATE = 0
Negates the x using -(x).
FUNC_BITWISE_NOT = 1
Returns the result of bitwise NOT operation on the integer. Translates to ~a in the Godot Shader Language.
FUNC_MAX = 2
Represents the size of the Function enum.