|
Tizen Native API
5.0
|
A set of key frames for a property that can be animated using Dali::Animation::AnimateBetween(). More...
Public Member Functions | |
| KeyFrames () | |
| Creates an uninitialized KeyFrame handle. | |
| ~KeyFrames () | |
| Destructor. | |
| KeyFrames (const KeyFrames &handle) | |
| This copy constructor is required for (smart) pointer semantics. | |
| KeyFrames & | operator= (const KeyFrames &rhs) |
| This assignment operator is required for (smart) pointer semantics. | |
| Property::Type | GetType () const |
| Gets the type of the key frame. | |
| void | Add (float progress, Property::Value value) |
| Adds a key frame. | |
| void | Add (float progress, Property::Value value, AlphaFunction alpha) |
| Adds a key frame. | |
Static Public Member Functions | |
| static KeyFrames | New () |
| Creates an initialized KeyFrames handle. | |
| static KeyFrames | DownCast (BaseHandle handle) |
| Downcasts a handle to KeyFrames handle. | |
A set of key frames for a property that can be animated using Dali::Animation::AnimateBetween().
This allows the generation of key frame objects from individual Property::Values. The type of the key frame is specified by the type of the first value to be added. Adding key frames with a different Property::Value type will result in a run time assert.
Creates an uninitialized KeyFrame handle.
This can be initialized with KeyFrame::New(). Calling member functions with an uninitialized KeyFrames handle is not allowed.
Destructor.
This is non-virtual since derived Handle types must not contain data or virtual methods.
| Dali::KeyFrames::KeyFrames | ( | const KeyFrames & | handle | ) |
This copy constructor is required for (smart) pointer semantics.
| [in] | handle | A reference to the copied handle |
| void Dali::KeyFrames::Add | ( | float | progress, |
| Property::Value | value | ||
| ) |
Adds a key frame.
The key frames should be added in time order.
| [in] | progress | A progress value between 0.0 and 1.0 |
| [in] | value | A value |
| void Dali::KeyFrames::Add | ( | float | progress, |
| Property::Value | value, | ||
| AlphaFunction | alpha | ||
| ) |
Adds a key frame.
The key frames should be added in time order.
| [in] | progress | A progress value between 0.0 and 1.0 |
| [in] | value | A value |
| [in] | alpha | The alpha function used to blend to the next keyframe |
| static KeyFrames Dali::KeyFrames::DownCast | ( | BaseHandle | handle | ) | [static] |
| Property::Type Dali::KeyFrames::GetType | ( | ) | const |
Gets the type of the key frame.
If no key frames have been added, this returns Property::NONE.
| static KeyFrames Dali::KeyFrames::New | ( | ) | [static] |