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_ALPHA
Color and Alpha, Draw image with RGB colors and alpha transparency.COLOR
Color, Draw image with RGB colors.ALPHA
Alpha, Draw alpha transparency channel.RED
Red.GREEN
Green.BLUE
Blue.
Type: enum in [‘COLOR_ALPHA’, ‘COLOR’, ‘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)
-
insert_offset_direction
¶ Direction to offset nodes on insertion
Type: enum in [‘RIGHT’, ‘LEFT’], default ‘RIGHT’
-
path
¶ Path from the data-block to the currently edited node tree
Type: SpaceNodeEditorPath
bpy_prop_collection
ofNodeTreePath
, (readonly)
-
pin
¶ Use the pinned node tree
Type: boolean, default False
-
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_grease_pencil
¶ Show grease pencil for this view
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
Type: enum in [‘DUMMY’], default ‘DUMMY’
-
use_auto_render
¶ Re-render and composite changed layers on 3D edits
Type: boolean, default False
-
use_insert_offset
¶ Automatically offset the following or previous nodes in a chain when inserting a new node
Type: boolean, default False
-
cursor_location_from_region
(x, y)¶ Set the cursor location using region coordinates
Parameters: - x (int in [-inf, inf]) – x, Region x coordinate
- y (int in [-inf, inf]) – y, Region y coordinate
-
classmethod
bl_rna_get_subclass
(id, default=None)¶ Parameters: id (string) – The RNA type identifier. Returns: The RNA type or default when not found. Return type: bpy.types.Struct
subclass
-
classmethod
bl_rna_get_subclass_py
(id, default=None)¶ Parameters: id (string) – The RNA type identifier. Returns: The class or default when not found. Return type: type
-
draw_handler_add
()¶ Undocumented
-
draw_handler_remove
()¶ Undocumented
-
Inherited Properties
Inherited Functions