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...
VisualShaderNodeMix
Hereda: VisualShaderNode < Resource < RefCounted < Object
Interpola linealmente entre dos valores dentro del gráfico de shader visual.
Descripción
Se traduce a mix(a, b, weight) en el lenguaje de shaders.
Propiedades
|
Enumeraciones
enum OpType: 🔗
OpType OP_TYPE_SCALAR = 0
Un escalar real.
OpType OP_TYPE_VECTOR_2D = 1
Un tipo vector 2D.
OpType OP_TYPE_VECTOR_2D_SCALAR = 2
Los puertos a y b utilizan un tipo de vector 2D. El puerto weight utiliza un tipo escalar.
OpType OP_TYPE_VECTOR_3D = 3
Un tipo vector 3D.
OpType OP_TYPE_VECTOR_3D_SCALAR = 4
Los puertos a y b utilizan un tipo de vector 3D. El puerto weight utiliza un tipo escalar.
OpType OP_TYPE_VECTOR_4D = 5
Un tipo vector 4D.
OpType OP_TYPE_VECTOR_4D_SCALAR = 6
Los puertos a y b utilizan un tipo de vector 4D. El puerto weight utiliza un tipo escalar.
OpType OP_TYPE_MAX = 7
Representa el tamaño del enum OpType.
Descripciones de Propiedades
Un tipo de operando y valor de retorno.