godot/doc/classes/VisualShaderNodeVarying.xml

20 lines
946 B
XML
Raw Normal View History

2022-01-09 14:02:13 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualShaderNodeVarying" inherits="VisualShaderNode" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
2022-01-09 14:02:13 +00:00
<brief_description>
2022-12-07 14:59:34 +00:00
A visual shader node that represents a "varying" shader value.
2022-01-09 14:02:13 +00:00
</brief_description>
<description>
2022-12-07 14:59:34 +00:00
Varying values are shader variables that can be passed between shader functions, e.g. from Vertex shader to Fragment shader.
2022-01-09 14:02:13 +00:00
</description>
<tutorials>
</tutorials>
<members>
<member name="varying_name" type="String" setter="set_varying_name" getter="get_varying_name" default="&quot;[None]&quot;">
2022-12-07 14:59:34 +00:00
Name of the variable. Must be unique.
2022-01-09 14:02:13 +00:00
</member>
<member name="varying_type" type="int" setter="set_varying_type" getter="get_varying_type" enum="VisualShader.VaryingType" default="0">
2022-12-07 14:59:34 +00:00
Type of the variable. Determines where the variable can be accessed.
2022-01-09 14:02:13 +00:00
</member>
</members>
</class>