nuke.Layer
- class nuke.Layer
Bases:
pybind11_objectA layer is a set of channels.
Construct a layer with a name and optional list of channel names.
Methods
self.channels() -> [string, ...] Get a list of the channels in this layer.
self.name() -> str Get the layer name.
self.setName(newName) -> None Set the name of this layer.
self.visible() -> bool Check whether the layer is visible.
- channels() [string, ...]
Get a list of the channels in this layer.
- Returns:
A list of strings, where each string is the name of a channel in this layer.
- name() str
Get the layer name.
- Returns:
The layer name, as a string.
- setName(newName) None
Set the name of this layer.
- Parameters:
newName – The new name for this layer.
- visible() bool
Check whether the layer is visible.
- Returns:
True if visible, False if not.