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
ALLAll, Use shaders for all renderers and viewports, unless there exists a more specific output.EEVEEEevee, Use shaders for Eevee renderer.CYCLESCycles, Use shaders for Cycles renderer.
- Returns
Node
- Return type
-
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.Structsubclass
-
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