Trees | Indices | Help |
|
---|
|
object --+ | Flag --+ | BaseCurve --+ | AnimCurve
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 |
|
||
|
|||
None |
|
||
float |
|
||
float |
|
||
AnimCurveKey |
|
||
int |
|
||
bool |
|
||
None |
|
||
None |
|
||
None |
|
||
Inherited from Inherited from |
|
|||
kDefaultConstantValue = 0.0
|
|||
Inherited from |
|
|||
constantValue The constant (not-animated) value for this curve, if any. |
|||
expressionString The expression string for the this curve, if any. |
|||
useExpression Whether or not to use the expression string to calculate a value for this curve. |
|||
Inherited from |
|
x.__delattr__('name') <==> del x.name
|
x.__getattribute__('name') <==> x.name
|
|
x.__setattr__('name', value) <==> x.name = value
|
self.addKey(keyObj) -> None Add a new key to this curve. You can pass in either a time and value pair (the value parameter is optional), or an AnimCurveKey object you've created yourself. In the former case, a new AnimCurveKey object will be created and added to the curve; in the latter case, the key you pass in will be added directly.
|
Calculate the value of the curve at a specific time, the pass that in to the expression for the curve. The return value is the result of the expression.
|
Remove an existing key from this curve. The key is identified by either the time it occurs at, or its hash (as returned by the key's getHash() method.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Dec 5 06:16:25 2017 | http://epydoc.sourceforge.net |