An animated curve. The curve is described as a series of key values
(instances of the AnimCurveKey class) which say what value it should have
a particular time. For any time in between keys, the neighbouring key
values are interpolated based on a curve type and interpolation settings
specified at each key.
Each curve can only represent a single floating point value over
time.
|
|
|
|
|
|
|
a new object with type S, a subtype of T
|
|
|
|
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value |
|
|
|
None
|
addKey(self,
time,
value)
self.addKey(keyObj) -> None Add a new key to this curve. |
|
|
|
float
|
evaluate(self,
time)
Calculate the value of the curve at a specific time, the pass that in
to the expression for the curve. |
|
|
|
float
|
evaluateY(self,
time)
Calculates the value of the curve at a specific time. |
|
|
|
AnimCurveKey
|
getKey(self,
index)
Returns one of the keys on this curve. |
|
|
|
int
|
getNumberOfKeys(self)
Returns the number of keys along this curve. |
|
|
|
bool
|
isDefault(self)
Check whether this curve has been modified away from its default
values. |
|
|
|
None
|
removeAllKeys(self)
Removes all keys from this curve. |
|
|
|
None
|
removeKey(self,
timeOrHash)
Remove an existing key from this curve. |
|
|
|
None
|
reset(self)
Reset this object to its default values. |
|
|
|
Inherited from Flag:
getFlag,
setFlag
Inherited from object:
__format__,
__hash__,
__init__,
__reduce__,
__reduce_ex__,
__repr__,
__sizeof__,
__str__,
__subclasshook__
|