SpaceNodeEditor(Space)

base classes — bpy_struct, Space

class bpy.types.SpaceNodeEditor(Space)

Node editor space data

backdrop_channels

Channels of the image to draw

  • COLOR Color, Draw image with RGB colors.
  • COLOR_ALPHA Color and Alpha, Draw image with RGB colors and alpha transparency.
  • ALPHA Alpha, Draw alpha transparency channel.
  • RED Red.
  • GREEN Green.
  • BLUE Blue.
Type :enum in [‘COLOR’, ‘COLOR_ALPHA’, ‘ALPHA’, ‘RED’, ‘GREEN’, ‘BLUE’], default ‘COLOR’
backdrop_x

Backdrop X offset

Type :float in [-inf, inf], default 0.0
backdrop_y

Backdrop Y offset

Type :float in [-inf, inf], default 0.0
backdrop_zoom

Backdrop zoom factor

Type :float in [0.01, inf], default 1.0
cursor_location

Location for adding new nodes

Type :float array of 2 items in [-inf, inf], default (0.0, 0.0)
edit_tree

Edited node tree

Type :NodeTree, (readonly)
id

Datablock whose nodes are being edited

Type :ID, (readonly)
id_from

Datablock from which the edited datablock is linked

Type :ID, (readonly)
node_tree

Node tree being displayed

Type :NodeTree
shader_type

Type of data to take shader from

  • OBJECT Object, Edit shader nodes from Object.
  • WORLD World, Edit shader nodes from World.
Type :enum in [‘OBJECT’, ‘WORLD’], default ‘OBJECT’
show_backdrop

Use active Viewer Node output as backdrop for compositing nodes

Type :boolean, default False
show_highlight

Highlight nodes that are being calculated

Type :boolean, default False
texture_type

Type of data to take texture from

  • OBJECT Object, Edit texture nodes from Object.
  • WORLD World, Edit texture nodes from World.
  • BRUSH Brush, Edit texture nodes from Brush.
Type :enum in [‘OBJECT’, ‘WORLD’, ‘BRUSH’], default ‘OBJECT’
tree_type

Node tree type to display and edit

  • SHADER Shader, Shader nodes.
  • TEXTURE Texture, Texture nodes.
  • COMPOSITING Compositing, Compositing nodes.
Type :enum in [‘SHADER’, ‘TEXTURE’, ‘COMPOSITING’], default ‘SHADER’
use_auto_render

Re-render and composite changed layers on 3D edits

Type :boolean, default False
use_hidden_preview

Hide preview for newly creating nodes

Type :boolean, default False

Inherited Properties

Inherited Functions

Previous topic

SpaceNLA(Space)

Next topic

SpaceOutliner(Space)