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...
VisualShaderNodeFloatOp
Eredita: VisualShaderNode < Resource < RefCounted < Object
Un operatore scalare in virgola mobile da utilizzare all'interno del grafico del visual shader.
Descrizione
Applica operator a due input in virgola mobile: 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. Tradotto come mod(a, b) nel Godot Shader Language.
Operator OP_POW = 5
Eleva a alla potenza di b. Tradotto come pow(a, b) nel Godot Shader Language.
Operator OP_MAX = 6
Restituisce il numero maggiore tra due numeri. Tradotto come max(a, b) nel Godot Shader Language.
Operator OP_MIN = 7
Restituisce il numero minore tra due numeri. Tradotto come max(a, b) nel Godot Shader Language.
Operator OP_ATAN2 = 8
Restituisce l'arcotangente dei parametri. Tradotto come atan(a, b) nel Godot Shader Language.
Operator OP_STEP = 9
Genera una funzione di passo confrontando b(x) a a(edge). Restituisce 0.0 se x è minore di edge e altrimenti 1.0. Tradotto come step(a, b) nel Godot Shader Language.
Operator OP_ENUM_SIZE = 10
Rappresenta la dimensione dell'enumerazione Operator.
Descrizioni delle proprietà
Un operatore da applicare agli ingressi.