Track View Key Operations
This section discusses some of the various Animatable method for dealing with keys in track view. These methods perform operations such
as adding, deleting and scaling keys.
- Animatable::AddNewKey() - This method is called to add a new key at the specified time. The value of the
key is set to the value of the previous key, or interpolated between keys, based on
the flags passed.
- Animatable::DeleteKeys() - This method is called to delete keys, as specified by the flags passed.
- Animatable::SelectKeys() - This method is called to select or deselect a set of keys identified by the TrackHitTab and the specified flags.
- Animatable::MoveKeys() - This method is called to move selected keys vertically in the function curve editor.
This moves the key values but does not alter the key times.
- Animatable::ScaleKeyValues() - This method is called to scale selected keys values. This scales the key values
but does not alter the key times.
- Animatable::MapKeys() - This method is called to update the keys specified by the flags, using the TimeMap
passed. The plugin should go through the specified keys and change their time to TimeMap::map( time).