VisualShaderNodeVarying
Inherits: VisualShaderNode < Resource < RefCounted < Object
Inherited by: VisualShaderNodeVaryingGetter, VisualShaderNodeVaryingSetter
Description
Section titled “Description”A visual shader node that represents a “varying” shader value.
Varying values are shader variables that can be passed between shader functions, e.g. from Vertex shader to Fragment shader.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| String | varying_name |
"[None]" |
| VisualShader.VaryingType | varying_type |
0 |
Property descriptions
Section titled “Property descriptions”varying_name
String varying_name = "[None]"
Name of the variable. Must be unique.
varying_type
VisualShader.VaryingType varying_type = 0
Type of the variable. Determines where the variable can be accessed.
