A knob which holds an array of values.
a new object with type S, a subtype of T
|
|
AnimationCurve or None
|
animation(self,
chan,
view)
Return the AnimationCurve for the channel 'chan' and view 'view'. |
|
|
AnimationCurve list
|
animations(self,
view)
Returns:
AnimationCurve list. |
|
|
List of knob values
|
array(self)
Returns:
List of knob values. |
|
|
Number of elements in array
|
arraySize(self)
Returns:
Number of elements in array. |
|
|
True if succeeded, False otherwise
|
|
None
|
copyAnimation(self,
channel,
curve,
view)
Copies the i'th channel of the AnimationCurve curve to this object. |
|
|
None
|
copyAnimations(self,
curves,
view)
Copies the AnimationCurves from curves to this object. |
|
|
Default value
|
|
None
|
|
Dimensions in array
|
|
Frame number
|
frame(self)
Returns:
Frame number. |
|
|
True if successful, False otherwise
|
fromScript(self,
s)
Set value of the knob to a user defined script (TCL syntax, as in .nk
file). |
|
|
|
|
|
getIntegral(...)
Return integral at time interval [t1, t2] and index 'i'. |
|
|
|
getKeyIndex(...)
Return index of the keyframe at time 't' and channel 'c'. |
|
|
|
getKeyTime(...)
Return time of the keyframe at time 't' and channel 'c'. |
|
|
|
|
|
getNumKeys(...)
Return number of keys at channel 'c'. |
|
|
Floating point or List of floating point values (in case some are
different)
|
getValue(self,
index,
view,
time)
Returns:
Floating point or List of floating point values (in case some are
different). |
|
|
Floating point or List of floating point values (in case some are
different)
|
getValueAt(self,
time,
index,
view)
Return value for this knob at specified time, optional index and
view. |
|
|
True if has expression, False otherwise
|
hasExpression(self,
index)
Returns:
True if has expression, False otherwise. |
|
|
Height of array of values
|
height(self)
Returns:
Height of array of values. |
|
|
True if animated, False otherwise
|
isAnimated(self,
index,
view)
Returns:
True if animated, False otherwise. |
|
|
True if succeeded, False otherwise
|
isKey(self,
index,
view)
Returns:
True if succeeded, False otherwise. |
|
|
True if succeeded, False otherwise
|
isKeyAt(self,
time,
index,
view)
Returns True if there is a keyframe at specified time, optional index
and view, otherwise returns False. |
|
|
Maximum value
|
max(self)
Returns:
Maximum value. |
|
|
Maximum value
|
maximum(self)
Returns:
Maximum value. |
|
|
Minimum value
|
min(self)
Returns:
Minimum value. |
|
|
Minimum value
|
minimum(self)
Returns:
Minimum value. |
|
|
True if any of the values is not set to the default, False otherwise
|
notDefault(self)
Returns:
True if any of the values is not set to the default, False otherwise. |
|
|
True if succeeded, False otherwise
|
|
True if succeeded, False otherwise
|
removeKeyAt(self,
time,
index,
view)
Remove keyframe at specified time, optional index and view. |
|
|
True if successful, False otherwise
|
resize(self,
w,
h)
Resize the array. |
|
|
True if succeeded, False otherwise
|
setAnimated(self,
index,
view)
Create an Animation object. |
|
|
None
|
|
bool
|
setExpression(self,
expr,
channel=-1,
view=None)
Set the expression for a knob. |
|
|
None
|
setKeyAt(self,
time,
index,
view)
Set a key on element 'index', at time and view. |
|
|
None
|
setRange(self,
f1,
f2)
Set range of values. |
|
|
None
|
|
True if value changed, False otherwise
|
setValue(self,
value,
index,
time,
view)
Safe to ignore. |
|
|
bool
|
setValueAt(self,
value,
time,
index,
view)
Set value of element 'index' at time for view. |
|
|
True if holds a single value
|
singleValue(self,
view)
Returns:
True if holds a single value. |
|
|
None
|
splitView(self,
view)
Split the view away from the current knob value. |
|
|
String
|
toScript(self,
quote,
context)
Return the value of the knob in script syntax. |
|
|
None
|
unsplitView(self,
view)
Unsplit the view so that it shares a value with other views. |
|
|
Floating point or List of floating point values (in case some are
different)
|
value(self,
index,
view,
time)
Returns:
Floating point or List of floating point values (in case some are
different). |
|
|
Floating point or List of floating point values (in case some are
different)
|
valueAt(self,
time,
index,
view)
Return value for this knob at specified time, optional index and
view. |
|
|
List of knob values
|
vect(self)
Returns:
List of knob values. |
|
|
Width of array of values
|
width(self)
Returns:
Width of array of values. |
|
|
Inherited from Knob :
Class ,
__init__ ,
clearFlag ,
critical ,
debug ,
enabled ,
error ,
fullyQualifiedName ,
getFlag ,
label ,
name ,
node ,
setEnabled ,
setFlag ,
setLabel ,
setName ,
setTooltip ,
setVisible ,
tooltip ,
visible ,
warning
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|