NodeInternal(Node)¶
base classes — bpy_struct
, Node
subclasses —
CompositorNode
, FunctionNode
, GeometryNode
, NodeFrame
, NodeGroup
, NodeGroupInput
, NodeGroupOutput
, NodeReroute
, ShaderNode
, TextureNode
- class bpy.types.NodeInternal(Node)¶
- classmethod poll(node_tree)¶
If non-null output is returned, the node type can be added to the tree
- Parameters:
node_tree (
NodeTree
) – Node Tree- Return type:
boolean
- poll_instance(node_tree)¶
If non-null output is returned, the node can be added to the tree
- Parameters:
node_tree (
NodeTree
) – Node Tree- Return type:
boolean
- update()¶
Update on node graph topology changes (adding or removing nodes and links)
- draw_buttons(context, layout)¶
Draw node buttons
- Parameters:
layout (
UILayout
, (never None)) – Layout, Layout in the UI
- draw_buttons_ext(context, layout)¶
Draw node buttons in the sidebar
- Parameters:
layout (
UILayout
, (never None)) – Layout, Layout in the UI
- classmethod bl_rna_get_subclass(id, default=None)¶
- Parameters:
id (str) – 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 (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type