RSS

Четверг, 28.03.2024, 23:39
Главная » WoW API » API Виджеты » Видимая область »

visible = ScrollingMessageFrame:IsVisible()

[ править ]
Returns whether the region is visible.
[клоны]
Returns whether the region is visible. A region is "visible" if it has been explicitly shown (or not explicitly hidden) and its parent is visible (that is, all of its ancestor frames (parent, parent's parent, etc) are also shown).

A region may be "visible" and not appear on screen -- it may not have any anchor points set, its position and size may be outside the bounds of the screen, or it may not draw anything (e.g. a FontString with no text, a Texture with no image, or a Frame with no visible children).


Signature:
Code
visible = VisibleRegion:IsVisible()

Returns:
  • visible - 1 if the region is visible; otherwise nil (1nil)

Также смотрите: Видимая область
Ссылки: http://wowprogramming.com/docs/widgets/VisibleRegion/IsVisible