mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
1c1524a651
Can't stop, won't stop, they said, huh?
20 lines
946 B
XML
20 lines
946 B
XML
<?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">
|
|
<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>
|