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...
VisualShaderNodeVaryingGetter
繼承: VisualShaderNodeVarying < VisualShaderNode < Resource < RefCounted < Object
用於獲取 varying 的視覺化著色器節點。
說明
讓著色器中定義的 varying 輸出一個值。你需要首先建立可用於該函式的 varying,例如 Fragment 著色器的 varying getter 需要模式為 VisualShader.VARYING_MODE_VERTEX_TO_FRAG_LIGHT 的 varying。