RSS

Вторник, 23.04.2024, 15:24
Главная » WoW API » API Виджеты » Анимационные группы »

AnimationGroup:SetInitialOffset(x, y)

[ править ]
Sets a static translation for the animated region.
[клоны]
Sets a static translation for the animated region. This translation is only used while the animation is playing.

For example, applying an initial offset of 0,-50 to an animation group which fades the PlayerPortrait in and out would cause the portrait image to jump down 50 pixels from its normal position when the animation begins playing, and return to its initial position when the animation is finished or stopped.


Signature:
Code
AnimationGroup:SetInitialOffset(x, y)

Arguments:
  • x - Horizontal distance to offset the animated region (in pixels) (number)
  • y - Vertical distance to offset the animated region (in pixels) (number)

Также смотрите: Анимационные группы
Ссылки: http://wowprogramming.com/docs/widgets/AnimationGroup/SetInitialOffset