Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
VisualShaderNodeVarying
Hérite de : VisualShaderNode < Resource < RefCounted < Object
Hérité par : 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.
Propriétés
|
||
|
Descriptions des propriétés
String varying_name = "[None]" 🔗
Name of the variable. Must be unique.
VaryingType varying_type = 0 🔗
void set_varying_type(value: VaryingType)
VaryingType get_varying_type()
Type of the variable. Determines where the variable can be accessed.