mirror of
https://github.com/XITRIX/NXKit.git
synced 2026-05-30 11:46:52 +00:00
20 lines
487 B
C++
20 lines
487 B
C++
#pragma once
|
|
|
|
#include <CABasicAnimation.h>
|
|
#include <CASpringAnimationPrototype.h>
|
|
|
|
namespace NXKit {
|
|
|
|
class CASpringAnimation: public CABasicAnimation {
|
|
public:
|
|
std::optional<double> damping;
|
|
std::optional<double> initialSpringVelocity;
|
|
|
|
CASpringAnimation(CASpringAnimation* animation);
|
|
CASpringAnimation(const std::shared_ptr<CASpringAnimationPrototype>& prototype,
|
|
std::string keyPath,
|
|
AnimatableProperty fromValue);
|
|
};
|
|
|
|
}
|