Package nuke :: Class Layer
[hide private]
[frames] | no frames]

Class Layer

object --+
         |
        nuke.Layer

A layer is a set of channels.

Instance Methods [hide private]
a new object with type S, a subtype of T
__new__(T, S, ...)
[string, ...]
channels(self)
Get a list of the channels in this layer.
str
name(self)
Get the layer name.
None
setName(self, newName)
Set the name of this layer.
bool
visible(self)
Check whether the layer is visible.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

channels(self)

 

Get a list of the channels in this layer.

Returns: [string, ...]
A list of strings, where each string is the name of a channel in this layer.

name(self)

 

Get the layer name.

Returns: str
The layer name, as a string.

setName(self, newName)

 

Set the name of this layer.

Parameters:
  • newName - The new name for this layer.
Returns: None

visible(self)

 

Check whether the layer is visible.

Returns: bool
True if visible, False if not.