mirror of
https://github.com/godotengine/godot
synced 2024-09-05 17:59:56 +00:00
20 lines
946 B
XML
20 lines
946 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualShaderNodeVarying" inherits="VisualShaderNode" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
A visual shader node that represents a "varying" shader value.
|
|
</brief_description>
|
|
<description>
|
|
Varying values are shader variables that can be passed between shader functions, e.g. from Vertex shader to Fragment shader.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="varying_name" type="String" setter="set_varying_name" getter="get_varying_name" default=""[None]"">
|
|
Name of the variable. Must be unique.
|
|
</member>
|
|
<member name="varying_type" type="int" setter="set_varying_type" getter="get_varying_type" enum="VisualShader.VaryingType" default="0">
|
|
Type of the variable. Determines where the variable can be accessed.
|
|
</member>
|
|
</members>
|
|
</class>
|