Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
VisualShaderNodeIntOp
Eredita: VisualShaderNode < Resource < RefCounted < Object
Un operatore scalare intero da utilizzare all'interno del grafico di visual shader.
Descrizione
Applica operator a due ingressi interi: a e b.
Proprietà
|
Enumerazioni
enum Operator: 🔗
Operator OP_ADD = 0
Somma due numeri usando a + b.
Operator OP_SUB = 1
Sottrae due numeri usando a - b.
Operator OP_MUL = 2
Moltiplica due numeri usando a * b.
Operator OP_DIV = 3
Divide due numeri usando a / b.
Operator OP_MOD = 4
Calcola il resto di due numeri usando a % b.
Operator OP_MAX = 5
Restituisce il numero maggiore tra due numeri. Tradotto come max(a, b) nel Godot Shader Language.
Operator OP_MIN = 6
Restituisce il minimo di due numeri. Tradotto come max(a, b) nel Godot Shader Language.
Operator OP_BITWISE_AND = 7
Restituisce il risultato dell'operazione sui bit AND sull'intero. Tradotto come a & b nel Godot Shader Language.
Operator OP_BITWISE_OR = 8
Restituisce il risultato dell'operazione sui bit OR su due interi. Tradotto come a | b nel Godot Shader Language.
Operator OP_BITWISE_XOR = 9
Restituisce il risultato dell'operazione sui bit XOR su due interi. Tradotto come a ^ b nel Godot Shader Language.
Operator OP_BITWISE_LEFT_SHIFT = 10
Restituisce il risultato dell'operazione di spostamento bit a sinistra sull'intero. Tradotto come a << b nel Godot Shader Language.
Operator OP_BITWISE_RIGHT_SHIFT = 11
Restituisce il risultato dell'operazione di spostamento bit a destra sull'intero. Tradotto come a >> b nel Godot Shader Language.
Operator OP_ENUM_SIZE = 12
Rappresenta la dimensione dell'enumerazione Operator.
Descrizioni delle proprietà
Un operatore da applicare agli ingressi.