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.

VisualShaderNodeVaryingGetter

Eredita: VisualShaderNodeVarying < VisualShaderNode < Resource < RefCounted < Object

Un nodo di visual shader che ottiene un valore di un varying.

Descrizione

Produce un valore di un varying definito nel shader. È necessario prima creare un varying che può essere utilizzato nella funzione fornita, ad esempio, un getter di varying nel Fragment shader richiede un varying con la sua modalità impostata a VisualShader.VARYING_MODE_VERTEX_TO_FRAG_LIGHT.