RSS

Воскресенье, 22.12.2024, 07:04
Главная » WoW API » API Виджеты » Ротация »

point, xOffset, yOffset = Rotation:GetOrigin()

[ править ]
Returns the rotation animation's origin point.
[клоны]
Returns the rotation animation's origin point. During a rotation animation, the origin point remains in place while the positions of all other points in the scaled region are moved according to the rotation amount.


Signature:
Code
point, xOffset, yOffset = Rotation:GetOrigin()

Returns:
  • point - Anchor point for the rotation origin (string, anchorPoint)
  • xOffset - Horizontal distance from the anchor point to the rotation origin (in pixels) (number)
  • yOffset - Vertical distance from the anchor point to the rotation origin (in pixels) (number)

Также смотрите: Ротация
Ссылки: http://wowprogramming.com/docs/widgets/Rotation/GetOrigin