nuke.curvelib.AnimCurveKey
- class nuke.curvelib.AnimCurveKey
Bases:
objectA key value in a parametric curve represented as a value at a particular time.
Methods
Check whether a particular flag is set or not.
Reset this key to its default values.
Set a particular flag.
Attributes
The interpolation type to use for this key.
kDefaultAnimCurveKeyInterpolationkDefaultAnimCurveKeyTimekDefaultAnimCurveKeyValueThe left bicubic value for this key.
The left derivative for this key.
The right bicubic value for this key.
The right derivative for this key.
The time this key is set at.
The value for this key.
- getFlag(flag) bool
Check whether a particular flag is set or not. The flag parameter should be one of the constants from the FlagType class. The return value will be True if the flag is set, False if it isn’t.
- interpolationType
The interpolation type to use for this key.
- la
The left bicubic value for this key.
- lslope
The left derivative for this key.
- ra
The right bicubic value for this key.
- reset() None
Reset this key to its default values.
- rslope
The right derivative for this key.
- setFlag(flag, value) None
Set a particular flag. The flag parameter specifies which flag to set and should be one of the constants from the FlagType class. The value parameter is a boolean value; True will set the flag, False will clear it.
- time
The time this key is set at.
- value
The value for this key.