nuke.Layer¶
-
class
nuke.
Layer
¶ Bases:
object
A layer is a set of channels.
Methods
Get a list of the channels in this layer.
Get the layer name.
Set the name of this layer.
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.
-