A modifiable control that appears (unless hidden) in the panel for a
node. This is a base class that specific knob types inherit from.
Knobs can be animated, have expressions, be disabled or hidden and
more.
Class name
|
Class(self)
Returns:
Class name. |
|
|
|
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
a new object with type S, a subtype of T
|
|
|
|
None
|
|
None
|
|
None
|
debug(self,
message)
Returns:
None. |
|
|
Boolean
|
enabled(self)
Returns:
True if the knob is enabled, False if it's disabled. |
|
|
None
|
error(self,
message)
Returns:
None. |
|
|
|
fromScript(...)
Initialise from script. |
|
|
string
|
fullyQualifiedName(self,
channel=-1)
Returns the fully-qualified name of the knob within the node. |
|
|
|
getDerivative(...)
Return derivative at time 't' for channel 'c'. |
|
|
Bool
|
getFlag(self,
f)
Returns whether the input flag is set. |
|
|
|
getIntegral(...)
Return integral at the interval [t1, t2] for channel 'c'. |
|
|
|
getKeyIndex(...)
Return keyframe index at time 't' for channel 'c'. |
|
|
|
getKeyTime(...)
Return index of the keyframe at time 't' for channel 'c'. |
|
|
|
getNthDerivative(...)
Return nth derivative at time 't' for channel 'c'. |
|
|
|
getNumKeys(...)
Return number of keyframes for channel 'c'. |
|
|
|
getValue(...)
Return value at the current frame for channel 'c'. |
|
|
|
getValueAt(...)
Return value at time 't' for channel 'c'. |
|
|
bool
|
hasExpression(self,
index=-1)
Return True if animation at index 'index' has an expression. |
|
|
|
isAnimated(...)
Return True if channel 'c' is animated. |
|
|
|
isKey(...)
Return True if there is a keyframe at the current frame for channel
'c'. |
|
|
|
isKeyAt(...)
Return True if there is a keyframe at time 't' for channel 'c'. |
|
|
label
|
label(self)
Returns:
label. |
|
|
name
|
name(self)
Returns:
name. |
|
|
nuke.Node
|
node(self)
Return the node that this knob belongs to. |
|
|
|
|
|
removeKeyAt(...)
Remove key at time 't' for channel 'c'. |
|
|
|
setAnimated(...)
Set channel 'c' to be animated. |
|
|
None
|
setEnabled(self,
enabled)
Enable or disable the knob. |
|
|
bool
|
setExpression(self,
expr,
channel=-1,
view=None)
Set the expression for a knob. |
|
|
None
|
setFlag(self,
f)
Logical OR of the argument and existing knob flags. |
|
|
None
|
|
None
|
|
None
|
|
bool
|
setValue(self,
val,
chan)
Sets the value 'val' at channel 'chan'. |
|
|
bool
|
setValueAt(self,
val,
time,
chan)
Sets the value 'val' at channel 'chan' for time 'time'. |
|
|
None
|
|
string
|
toScript(quote,
context=current)
Return the value of the knob in script syntax. |
|
|
tooltip
|
|
|
value(...)
Return value at the current frame for channel 'c'. |
|
|
Boolean
|
visible(self)
Returns:
True if the knob is visible, False if it's hidden. |
|
|
None
|
warning(self,
message)
Returns:
None. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|