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...
VisualShaderNodeSwitch
Eredita: VisualShaderNode < Resource < RefCounted < Object
Una funzione selettore per l'uso all'interno del grafico di visual shader.
Descrizione
Restituisce un valore associato del tipo op_type se il valore booleano fornito è true o false .
Proprietà
|
Enumerazioni
enum OpType: 🔗
OpType OP_TYPE_FLOAT = 0
Uno scalare in virgola mobile.
OpType OP_TYPE_INT = 1
Uno scalare intero.
OpType OP_TYPE_UINT = 2
Uno scalare intero senza segno.
OpType OP_TYPE_VECTOR_2D = 3
Un tipo di vettore 2D.
OpType OP_TYPE_VECTOR_3D = 4
Un tipo di vettore 3D.
OpType OP_TYPE_VECTOR_4D = 5
Un tipo di vettore 4D.
OpType OP_TYPE_BOOLEAN = 6
Un tipo booleano.
OpType OP_TYPE_TRANSFORM = 7
Un tipo di trasformazione.
OpType OP_TYPE_MAX = 8
Rappresenta la dimensione dell'enumerazione OpType.
Descrizioni delle proprietà
Un tipo di operandi e valore restituito.