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.

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๏ƒ

String

varying_name

"[None]"

VaryingType

varying_type

0


Property Descriptions๏ƒ

String varying_name = "[None]" ๐Ÿ”—

  • void set_varying_name(value: String)

  • String get_varying_name()

Name of the variable. Must be unique.


VaryingType varying_type = 0 ๐Ÿ”—

Type of the variable. Determines where the variable can be accessed.