HatchitGame
ht_tween_scale.h
1 
15 #include <ht_tween_component.h>
16 
17 namespace Hatchit {
18 
19  namespace Game {
20 
24  class HT_API TweenScale : public TweenComponent
25  {
26  public:
30  TweenScale();
31 
35  ~TweenScale();
36 
37 
38  virtual JSON VSerialize(void) override;
39  virtual bool VDeserialize(const JSON& jsonObject) override;
40 
44  Math::Float3 GetStartScale() const;
45 
49  Math::Float3 GetEndScale() const;
50 
56  void SetStartScale(const Math::Float3& value);
57 
63  void SetEndScale(const Math::Float3& value);
64 
70  void VOnUpdate() final override;
71 
75  Component* VClone(void) const override;
76 
77  virtual Core::Guid VGetComponentId(void) const override;
78  };
79 
80  }
81 
82 }
Defines a tween component that can be used to tween an object&#39;s scale.
Definition: ht_tween_scale.h:24
Definition: ht_component.h:42
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_glfwkeyboard.h:21
Defines the base for tween-based components.
Definition: ht_tween_component.h:91