W3cubDocs

/Godot 3.1

VisualShaderNodeTexture

Inherits: VisualShaderNode < Resource < Reference < Object

Category: Core

Brief Description

Properties

Source source
Texture texture
TextureType texture_type

Enumerations

enum Source:

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

enum TextureType:

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

Property Descriptions

Source source

Setter set_source(value)
Getter get_source()

Texture texture

Setter set_texture(value)
Getter get_texture()

TextureType texture_type

Setter set_texture_type(value)
Getter get_texture_type()

© 2014–2019 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.1/classes/class_visualshadernodetexture.html