NodeTreeInterfaceItem(bpy_struct)¶
base class — bpy_struct
subclasses —
NodeTreeInterfacePanel
, NodeTreeInterfaceSocket
- class bpy.types.NodeTreeInterfaceItem(bpy_struct)¶
Item in a node tree interface
- index¶
Global index of the item among all items in the interface
- Type:
int in [-1, inf], default 0, (readonly)
- item_type¶
Type of interface item
- Type:
enum in Node Tree Interface Item Type Items, default ‘PANEL’, (readonly)
- parent¶
Panel that contains the item
- Type:
NodeTreeInterfacePanel
, (readonly)
- position¶
Position of the item in its parent panel
- Type:
int in [-1, inf], default 0, (readonly)
- 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