VisualShaderNodeVaryingSetter

继承: VisualShaderNodeVarying < VisualShaderNode < Resource < RefCounted < Object

用于设置 varying 的可视化着色器节点。

描述

向着色器中定义的 varying 输入一个值。你需要首先创建可用于该函数的 varying,例如 Fragment 着色器的 varying setter 需要模式为 VisualShader.VARYING_MODE_FRAG_TO_LIGHT 的 varying。

Previous Next


© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7.

Built with Sphinx using a theme provided by Read the Docs.