VisualShaderNodeTexture

Inherits: VisualShaderNode < Resource < Reference < Object

Category: Core

Brief Description

Properties

Array default_input_values O: [ ]
Source source 0
Texture texture  
TextureType texture_type 0

Enumerations

enum Source:

  • SOURCE_TEXTURE = 0
  • SOURCE_SCREEN = 1
  • SOURCE_2D_TEXTURE = 2
  • SOURCE_2D_NORMAL = 3
  • SOURCE_DEPTH = 4

enum TextureType:

  • TYPE_DATA = 0
  • TYPE_COLOR = 1
  • TYPE_NORMALMAP = 2

Property Descriptions

Default 0
Setter set_source(value)
Getter get_source()

Setter set_texture(value)
Getter get_texture()

Default 0
Setter set_texture_type(value)
Getter get_texture_type()