TextureNodes(bpy_struct)

base class — bpy_struct

class bpy.types.TextureNodes(bpy_struct)

Collection of Texture Nodes

active

Active node in this tree

Type :Node
new(type, group=None)

Add a node to this node tree

Parameters:
  • type (enum in [‘OUTPUT’, ‘CHECKER’, ‘TEXTURE’, ‘BRICKS’, ‘MATH’, ‘MIX_RGB’, ‘RGBTOBW’, ‘VALTORGB’, ‘IMAGE’, ‘CURVE_RGB’, ‘INVERT’, ‘HUE_SAT’, ‘CURVE_TIME’, ‘ROTATE’, ‘VIEWER’, ‘TRANSLATE’, ‘COORD’, ‘DISTANCE’, ‘COMPOSE’, ‘DECOMPOSE’, ‘VALTONOR’, ‘SCALE’, ‘GROUP’, ‘REROUTE’]) – Type, Type of node to add
  • group (NodeTree, (optional)) – The group tree
Returns:

New node

Return type:

Node

remove(node)

Remove a node from this node tree

Parameters:node (Node, (never None)) – The node to remove
clear()

Remove all nodes from this node tree

Inherited Properties

Inherited Functions

References

Previous topic

TextureNodeViewer(TextureNode)

Next topic

TextureSlot(bpy_struct)