|
LuciadCPillar 2025.0.07
|
This struct represents an animation that has been started in AnimationManager and has not been stopped yet.
More...
#include <luciad/animations/AnimationManager.h>
Public Member Functions | |
| OngoingAnimation (std::shared_ptr< IAnimation > animation, double fraction) | |
| Constructs the OngoingAnimation with information on the animation and it's state. More... | |
Public Attributes | |
| std::shared_ptr< IAnimation > | animation |
The animation that is ongoing, cannot be nullptr. More... | |
| double | fraction |
| The current position within the animation. More... | |
This struct represents an animation that has been started in AnimationManager and has not been stopped yet.
It can be retrieved using the getCurrentAnimation method.
|
inline |
Constructs the OngoingAnimation with information on the animation and it's state.
| animation | the ongoing animation. |
| fraction | the fraction status for the animation. |
| std::shared_ptr<IAnimation> luciad::AnimationManager::OngoingAnimation::animation |
The animation that is ongoing, cannot be nullptr.
| double luciad::AnimationManager::OngoingAnimation::fraction |
The current position within the animation.