VisualShaderNodeSwitch

Hereda: VisualShaderNode < Resource < RefCounted < Object

Una función de selección para usar dentro del grafo de shader visual.

Descripción

Devuelve un valor asociado del tipo op_type si el valor booleano proporcionado es true o false.

Propiedades

OpType

op_type

0


Enumeraciones

enum OpType: 🔗

OpType OP_TYPE_FLOAT = 0

Un escalar real.

OpType OP_TYPE_INT = 1

Un escalar entero.

OpType OP_TYPE_UINT = 2

Un escalar entero sin signo.

OpType OP_TYPE_VECTOR_2D = 3

Un tipo vector 2D.

OpType OP_TYPE_VECTOR_3D = 4

Un tipo vector 3D.

OpType OP_TYPE_VECTOR_4D = 5

Un tipo vector 4D.

OpType OP_TYPE_BOOLEAN = 6

Un tipo booleano.

OpType OP_TYPE_TRANSFORM = 7

Un tipo de transformación.

OpType OP_TYPE_MAX = 8

Representa el tamaño del enum OpType.


Descripciones de Propiedades

OpType op_type = 0 🔗

Un tipo de operando y valor de retorno.