/**
* @copydoc Toolkit::ScrollViewEffect::SetMaxSwingAngle
*/
- void SetMaxSwingAngle(const Vector2& maxSwingAngle) { mMaxSwingAngle = maxSwingAngle; }
+ void SetMaxSwingAngle(const Vector2& maxSwingAngle);
+
+ /**
+ * @copydoc Toolkit::ScrollViewEffect::GetMaxSwingAngle
+ */
+ Vector2 GetMaxSwingAngle() const;
/**
* @copydoc Toolkit::ScrollViewEffect::SetSwingDropOff
*/
void SetSwingDropOff(const Vector2& dropOff, const Vector2& distance, AlphaFunction function = NULL);
+ /**
+ * @copydoc Toolkit::ScrollViewEffect::GetSwingDropOff
+ */
+ void GetSwingDropOff( Vector2& dropOff, Vector2& distance, AlphaFunction& function ) const;
+
public:
/**
ushort mFlags;
Animation mAnimation; ///< Animation Timer to drive the twist effect constraint.
+ float mActivationTime; ///< Time taken for overshoot to reach zero, which is the time we need to allow effect to be active
Animation mActivateAnimation;
Property::Index mPropertyTime; ///< Time property used by twist effect constraint to calculate timePassed.
bool mEnableEffect; ///< flag that decide whether enable or disable the twist effect.