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

A function to be applied to the scalar.

Constants

FUNC_NEGATE = 0

Enum: Function

Negates the x using -(x).

FUNC_BITWISE_NOT = 1

Enum: Function

Returns the result of bitwise NOT operation on the integer. Translates to ~a in the Godot Shader Language.

FUNC_MAX = 2

Enum: Function

Represents the size of the Function enum.

Source revision 4f5b14abade2
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.