Attention
You are reading the latest
(unstable) version of this documentation, which may document features not available
or compatible with Godot 3.x.
Checking the stable version of the documentation...
Work in progress
Godot documentation is being updated to reflect the latest changes in version
4.0
. Some documentation pages may
still state outdated information. This banner will tell you if you're reading one of such pages.
The contents of this page are up to date. If you can still find outdated information, please open an issue.
VisualShaderNodeVarying¶
Inherits: VisualShaderNode < Resource < RefCounted < Object
Inherited By: VisualShaderNodeVaryingGetter, VisualShaderNodeVaryingSetter
A visual shader node that represents a "varying" shader value.
Description¶
Varying values are shader variables that can be passed between shader functions, e.g. from Vertex shader to Fragment shader.
Properties¶
|
||
|
Property Descriptions¶
String varying_name = "[None]"
Name of the variable. Must be unique.
VaryingType varying_type = 0
void set_varying_type ( VaryingType value )
VaryingType get_varying_type ( )
Type of the variable. Determines where the variable can be accessed.