12.07.2015 Views

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1154 Part IV ■ <strong>Reference</strong>GetRegionsReturns a list <strong>of</strong> non-Frame child regions belonging to the frame.... = Frame:GetRegions()Returns:...—A list <strong>of</strong> each non-Frame child region (FontString or Texture)belongingto the frame (list)GetScaleReturns the frame’s scale factor.scale = Frame:GetScale()Returns:scale—Scale factor <strong>for</strong> the frame relative to its parent (number)GetTitleRegionReturns the frame’s TitleRegion object.region = Frame:GetTitleRegion()See :CreateTitleRegion() <strong>for</strong> more in<strong>for</strong>mation.Returns:region—<strong>Reference</strong> to the frame’s TitleRegion object (region)IgnoreDepthSets whether the frame’s depth property is ignored (<strong>for</strong> stereoscopic 3Dsetups).Frame:IgnoreDepth(enable)If a frame’s depth property is ignored, the frame itself is not rendered withstereoscopic 3D separation, but 3D graphics within the frame may be; thisproperty is used on the default UI’s <strong>World</strong>Frame.Arguments:enable—True to ignore the frame’s depth property; false to disable(boolean)IsClampedToScreenReturns whether the frame’s boundaries are limited to those <strong>of</strong> the screen.enabled = Frame:IsClampedToScreen()Returns:enabled—1 if the frame’s boundaries are limited to those <strong>of</strong> the screen whenuser moving/resizing; otherwise nil (1nil)IsEventRegisteredReturns whether the frame is registered <strong>for</strong> a given event.registered = Frame:IsEventRegistered(“event“)Arguments:event—Name <strong>of</strong> an event (string)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!