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
Hérite de : VisualShaderNode < Resource < RefCounted < Object
A scalar integer function to be used within the visual shader graph.
Description
Accept an integer scalar (x) to the input port and transform it according to function.
Propriétés
|
Énumérations
enum Function: 🔗
Function FUNC_ABS = 0
Returns the absolute value of the parameter. Translates to abs(x) in the Godot Shader Language.
Function FUNC_NEGATE = 1
Inverse le signe de x en utilisant -(x).
Function FUNC_SIGN = 2
Extracts the sign of the parameter. Translates to sign(x) in the Godot Shader Language.
Function FUNC_BITWISE_NOT = 3
Returns the result of bitwise NOT operation on the integer. Translates to ~a in the Godot Shader Language.
Function FUNC_MAX = 4
Représente la taille de l'énumération Function.
Descriptions des propriétés
Une fonction à appliquer au scalaire.