TextureNodes(bpy_struct)

base class — bpy_struct

class bpy.types.TextureNodes(bpy_struct)

Collection of Texture Nodes

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’, ‘SCRIPT’, ‘GROUP’]) – 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) – The node to remove.

Inherited Properties

Inherited Functions

References

Previous topic

TextureNodeViewer(TextureNode)

Next topic

TextureSlot(bpy_struct)