CAnimationValue Class
Implements the functionality of animation object that has one value.
class CAnimationValue : public CAnimationBaseObject;
Members
Public Constructors
Name |
Description |
---|---|
Overloaded. Constructs a CAnimationValue object. |
Public Methods
Name |
Description |
---|---|
Adds a transition to be applied to a value. |
|
Overloaded. Retrieves the current value. |
|
Provides access to encapsulated animation variable. |
|
Sets default value. |
Protected Methods
Name |
Description |
---|---|
Puts the encapsulated animation variable into a list. (Overrides CAnimationBaseObject::GetAnimationVariableList.) |
Public Operators
Name |
Description |
---|---|
Provides conversion between CAnimationValue and DOUBLE. |
|
Provides conversion between CAnimationValue and INT32. |
|
Overloaded. Assigns an INT32 value to CAnimationValue. |
Protected Data Members
Name |
Description |
---|---|
The encapsulated animation variable that represents animation value. |
Remarks
The CAnimationValue class encapsulates a single CAnimationVariable object and can represent in applications a single animated value. For example, you can use this class for animated transparency (fade effect), angle (to rotate objects), or for any other case when you need to create an animation depending on a single animated value. To use this class in application, just instantiate an object of this class, add it to animation controller using CAnimationController::AddAnimationObject and call AddTransition for each transition to be applied to the value.
Inheritance Hierarchy
Requirements
Header: afxanimationcontroller.h