Table of Contents

Class VisualShaderNodeTextureParameter

Performs a uniform texture lookup within the visual shader graph.

Inheritance
VisualShaderNodeTextureParameter
Derived

Remarks

Performs a lookup operation on the texture provided as a uniform for the shader.

Properties

color_default

Sets the default color if no texture is assigned to the uniform.

var color_default : int = 0

Property Value

int

Remarks

  • void set_color_default(int value)
  • int get_color_default

texture_filter

Sets the texture filtering mode. See TextureFilter for options.

var texture_filter : int = 0

Property Value

int

Remarks

  • void set_texture_filter(int value)
  • int get_texture_filter

texture_repeat

Sets the texture repeating mode. See TextureRepeat for options.

var texture_repeat : int = 0

Property Value

int

Remarks

  • void set_texture_repeat(int value)
  • int get_texture_repeat

texture_source

Sets the texture source mode. Used for reading from the screen, depth, or normal_roughness texture. See TextureSource for options.

var texture_source : int = 0

Property Value

int

Remarks

  • void set_texture_source(int value)
  • int get_texture_source

texture_type

Defines the type of data provided by the 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