RSS

Среда, 24.04.2024, 05:19
Главная » WoW API » API Виджеты » Анимация »

progress = Translation:GetSmoothProgress()

[ править ]
Returns the progress of the animation (ignoring start and end delay)
[клоны]
Returns the progress of the animation (ignoring start and end delay). When using a generic Animation object to animate effects not handled by the built-in Animation subtypes, this method should be used for updating effects in the animation's OnUpdate handler, as it properly accounts for smoothing and delays managed by the Animation object.


Signature:
Code
progress = Animation:GetSmoothProgress()

Returns:
  • progress - Progress of the animation: between 0.0 (at start) and 1.0 (at end) (number)

Также смотрите: Анимация
Ссылки: http://wowprogramming.com/docs/widgets/Animation/GetSmoothProgress