nuke.splinewarp.Element

class nuke.splinewarp.Element

Bases: object

The base class for the different types of elements you can create in the RotoPaint node.

Methods

clone

self.clone() -> elementCreate clone of element

getVisible

self.getVisible(time) -> bool Get the value of the visible attribute at a particular time.

serialise

self.serialise() -> string Returns a string representation of the given element.

setVisible

self.setVisible(time, value) -> None Set the value of the visible attribute at a particular time.

Attributes

locked

Whether this element is locked.

name

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.