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...
VisualShaderNodeIntFunc
Eredita: VisualShaderNode < Resource < RefCounted < Object
Una funzione intera scalare da utilizzare all'interno del grafico di visual shader.
Descrizione
Accetti un scalare intero (x) alla porta di ingresso e la trasforma secondo function.
Proprietà
|
Enumerazioni
enum Function: 🔗
Function FUNC_ABS = 0
Restituisce il valore assoluto del parametro. Tradotto come abs(x) nel Godot Shader Language.
Function FUNC_NEGATE = 1
Nega la x usando -(x).
Function FUNC_SIGN = 2
Restituisce il segno del parametro. Tradotto come sign(x) nel Godot Shader Language.
Function FUNC_BITWISE_NOT = 3
Restituisce il risultato dell'operazione sui bit NOT sull'intero. Tradotto come ~a nel Godot Shader Language.
Function FUNC_MAX = 4
Rappresenta la dimensione dell'enumerazione Function.
Descrizioni delle proprietà
Una funzione da applicare allo scalare.