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.

VisualShaderNodeVaryingSetter

Eredita: VisualShaderNodeVarying < VisualShaderNode < Resource < RefCounted < Object

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

Descrizione

Assegna un valore a un varying definito nel shader. È necessario prima creare una varyingche può essere utilizzato nella funzione fornita, ad esempio il setter di varying nel Fragment shader richiede un varying con la sua modalità a VisualShader.VARYING_MODE_FRAG_TO_LIGHT.