#include <KeyC.h>
Inheritance diagram for Composition::KeyC:
Key class defines the keys used in controllers. One key can have maximum of KEY_MAXCHANNELS channels. Currently the maximum number of channels is 4. All the channels in the key are floating point values.
This class is implemented by the system.
|
Default constructor.
|
|
Creates new key and assign it the specified time.
|
|
Constructor with reference to the original.
|
|
Default destructor.
|
|
Sets only specified flags.
|
|
Deep copy from a data block, see Edit::DataBlockI::copy().
Reimplemented from Edit::EditableI. |
|
Creates new file handle (used internally), see Edit::EditableI::create().
Reimplemented from Edit::EditableI. |
|
Create new key with zero no channels.
Reimplemented from Edit::EditableI. |
|
Create new key with specified number fo channels.
|
|
Create new key with zero no channels.
|
|
Removes only specified flags.
|
|
Returns bias value.
|
|
Returns continuity value.
|
|
Returns ease in value.
|
|
Returns ease out value.
|
|
Returns key flags.
|
|
Returns the value of in-coming tangent.
|
|
Returns the value of out-going tangent.
|
|
Returns tension value.
|
|
Returns the time of the key.
|
|
Returns the value of the key. If the number of channels of the key isn't absolutely know the following method should be used to retrieve the value:
float32 f32Values[KEY_MAXCHANNELS]; pKey->get_value( f32Values ); |
|
Serialize the key from a Demopaja input stream.
Reimplemented from Edit::EditableI. |
|
Shallow copy from a editable, see Edit::EditableI::restore().
Reimplemented from Edit::EditableI. |
|
Serialize the key to a Demopaja output stream.
Reimplemented from Edit::EditableI. |
|
Sets bias value.
|
|
Sets continuity value.
|
|
Sets ease in value.
|
|
Sets ease out value.
|
|
Sets the effect flags. Be careful to use this method. There are some flags, which have to be in place to make the key work correctly. Use add, del or toggle flags methods instead. |
|
Sets in-coming tangent.
|
|
Sets out-going tangent.
|
|
Sets tension value.
|
|
Sets the time of the key.
|
|
Sets the value of the key. If the number of channels of the key isn't absolutely know the following method should be used to set the value:
float32 f32Values[KEY_MAXCHANNELS]; // Set values f32Values[0] = 10.0f; pKey->set_value( f32Values ); |
|
Toggles only specified flags.
|