ShaderNodeTree(NodeTree)

base classes — bpy_struct, ID, NodeTree

class bpy.types.ShaderNodeTree(NodeTree)

Node tree consisting of linked nodes used for materials (and other shading data-blocks)

get_output_node(target)

Return active shader output node for the specified target

Parameters:target (enum in ['ALL', 'EEVEE', 'CYCLES']) –

Target

  • ALL All, Use shaders for all renderers and viewports, unless there exists a more specific output.
  • EEVEE Eevee, Use shaders for Eevee renderer.
  • CYCLES Cycles, Use shaders for Cycles renderer.
Returns:Node
Return type:ShaderNode
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

Inherited Properties

Inherited Functions