VisualShaderNodeTexture

Inherits: VisualShaderNode < Resource < Reference < Object

Enumerations

enum Source:

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

enum TextureType:

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

Property Descriptions

Default0
Setterset_source(value)
Getterget_source()

Setterset_texture(value)
Getterget_texture()

Default0
Setterset_texture_type(value)
Getterget_texture_type()

doradoro's advice! Getters and Setters will be deprecated! Avoid their use!

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:45:19. It's the English Stable version because it's what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.