GreasePencilTreeNode(bpy_struct)¶
base class — bpy_struct
subclasses —
GreasePencilLayer
, GreasePencilLayerGroup
- class bpy.types.GreasePencilTreeNode(bpy_struct)¶
Grease Pencil node in the layer tree. Either a layer or a group
- channel_color¶
Color of the channel in the dope sheet
- Type:
mathutils.Color
of 3 items in [0, inf], default (0.0, 0.0, 0.0)
- hide¶
Set tree node visibility
- Type:
boolean, default False
- lock¶
Protect tree node from editing
- Type:
boolean, default False
- name¶
The name of the tree node
- Type:
string, default “”, (never None)
- next_node¶
The layer tree node after (i.e. above) this one
- Type:
GreasePencilTreeNode
, (readonly)
- parent_group¶
The parent group of this layer tree node
- Type:
GreasePencilLayerGroup
, (readonly)
- prev_node¶
The layer tree node before (i.e. below) this one
- Type:
GreasePencilTreeNode
, (readonly)
- select¶
Tree node is selected
- Type:
boolean, default False
- use_masks¶
The visibility of drawings in this tree node is affected by the layers in the masks list
- Type:
boolean, default False
- use_onion_skinning¶
Display onion skins before and after the current frame
- Type:
boolean, default False
- 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