Node(bpy_struct)

base class — bpy_struct

subclasses — SpecialNode, TextureNode, CompositorNode, ShaderNode

class bpy.types.Node(bpy_struct)

Node in a node tree

color

Custom color of the node body

Type :float array of 3 items in [0, 1], default (0.0, 0.0, 0.0)
height

Height of the node

Type :float in [-inf, inf], default 0.0
hide
Type :boolean, default False
inputs
Type :bpy_prop_collection of NodeSocket, (readonly)
label

Optional custom node label

Type :string, default “”, (never None)
location
Type :float array of 2 items in [-100000, 100000], default (0.0, 0.0)
mute
Type :boolean, default False
name

Unique node identifier

Type :string, default “”, (never None)
outputs
Type :bpy_prop_collection of NodeSocket, (readonly)
parent

Parent this node is attached to

Type :Node
select
Type :boolean, default False
show_options
Type :boolean, default False
show_preview
Type :boolean, default False
show_texture

Draw node in viewport textured draw mode

Type :boolean, default False
use_custom_color

Use custom color for the node

Type :boolean, default False
width

Width of the node

Type :float in [-inf, inf], default 0.0
width_hidden

Width of the node in hidden state

Type :float in [-inf, inf], default 0.0

Inherited Properties

Inherited Functions

References

Previous topic

NlaTracks(bpy_struct)

Next topic

NodeFrame(SpecialNode)