nuke.rotopaint.Element
- class nuke.rotopaint.Element
Bases:
objectThe base class for the different types of elements you can create in the RotoPaint node.
Methods
self.clone() -> elementCreate clone of element
self.getVisible(time) -> bool Get the value of the visible attribute at a particular time.
self.serialise() -> string Returns a string representation of the given element.
self.setVisible(time, value) -> None Set the value of the visible attribute at a particular time.
Attributes
Whether this element is locked.
The name for this element.
- clone() elementCreate clone of element
- getVisible(time) bool
Get the value of the visible attribute at a particular time.
- locked
Whether this element is locked.
- name
The name for this element.
- serialise() string
Returns a string representation of the given element.
- setVisible(time, value) None
Set the value of the visible attribute at a particular time. value must be a bool.