Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.88 KB

class_visualshadernodevaryinggetter.rst

File metadata and controls

30 lines (21 loc) · 1.88 KB
github_url:hide

VisualShaderNodeVaryingGetter

Inherits: :ref:`VisualShaderNodeVarying<class_VisualShaderNodeVarying>` < :ref:`VisualShaderNode<class_VisualShaderNode>` < :ref:`Resource<class_Resource>` < :ref:`RefCounted<class_RefCounted>` < :ref:`Object<class_Object>`

A visual shader node that gets a value of a varying.

.. rst-class:: classref-introduction-group

Description

Outputs a value of a varying defined in the shader. You need to first create a varying that can be used in the given function, e.g. varying getter in Fragment shader requires a varying with mode set to :ref:`VisualShader.VARYING_MODE_VERTEX_TO_FRAG_LIGHT<class_VisualShader_constant_VARYING_MODE_VERTEX_TO_FRAG_LIGHT>`.