Table of Contents

Class VisualShaderNodeTexture

Performs a 2D texture lookup within the visual shader graph.

Inheritance
VisualShaderNodeTexture

Remarks

Performs a lookup operation on the provided texture, with support for multiple texture sources to choose from.

Properties

source

Determines the source for the lookup. See Source for options.

var source : int = 0

Property Value

int

Remarks

  • void set_source(int value)
  • int get_source

texture

The source texture, if needed for the selected source.

var texture : Texture2D

Property Value

Texture2D

Remarks

texture_type

Specifies the type of the texture if source is set to VisualShaderNodeTexture.SOURCE_TEXTURE. See TextureType for options.

var texture_type : int = 0

Property Value

int

Remarks

  • void set_texture_type(int value)
  • int get_texture_type