Class reference

VisualShaderNodeUIntOp

Inherits VisualShaderNode

An unsigned integer scalar operator to be used within the visual shader graph.

Description

Applies operator to two unsigned integer inputs: a and b.

Properties

int operator = 0

An operator to be applied to the inputs.

Constants

OP_ADD = 0

Enum: Operator

Sums two numbers using a + b.

OP_SUB = 1

Enum: Operator

Subtracts two numbers using a - b.

OP_MUL = 2

Enum: Operator

Multiplies two numbers using a * b.

OP_DIV = 3

Enum: Operator

Divides two numbers using a / b.

OP_MOD = 4

Enum: Operator

Calculates the remainder of two numbers using a % b.

OP_MAX = 5

Enum: Operator

Returns the greater of two numbers. Translates to max(a, b) in the Godot Shader Language.

OP_MIN = 6

Enum: Operator

Returns the lesser of two numbers. Translates to max(a, b) in the Godot Shader Language.

OP_BITWISE_AND = 7

Enum: Operator

Returns the result of bitwise AND operation on the integer. Translates to a & b in the Godot Shader Language.

OP_BITWISE_OR = 8

Enum: Operator

Returns the result of bitwise OR operation for two integers. Translates to a | b in the Godot Shader Language.

OP_BITWISE_XOR = 9

Enum: Operator

Returns the result of bitwise XOR operation for two integers. Translates to a ^ b in the Godot Shader Language.

OP_BITWISE_LEFT_SHIFT = 10

Enum: Operator

Returns the result of bitwise left shift operation on the integer. Translates to a << b in the Godot Shader Language.

OP_BITWISE_RIGHT_SHIFT = 11

Enum: Operator

Returns the result of bitwise right shift operation on the integer. Translates to a >> b in the Godot Shader Language.

OP_ENUM_SIZE = 12

Enum: Operator

Represents the size of the Operator 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.