Table of Contents

Class VisualShaderNodeCubemap

A Cubemap sampling node to be used within the visual shader graph.

Inheritance
VisualShaderNodeCubemap

Remarks

Translated to texture(cubemap, vec3) in the shader language. Returns a color vector and alpha channel as scalar.

Properties

cube_map

The Cubemap texture to sample when using VisualShaderNodeCubemap.SOURCE_TEXTURE as source.

var cube_map : TextureLayered

Property Value

TextureLayered

Remarks

source

Defines which source should be used for the sampling. See Source for options.

var source : int = 0

Property Value

int

Remarks

  • void set_source(int value)
  • int get_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