Frame:GetDepth

From Warcraft Wiki
Jump to navigation Jump to search

Returns the stereoscopic (3D) depth of a frame.

depth = frame:GetDepth()
effectiveDepth = frame:GetEffectiveDepth()

Returns

depth
number - Depth relative to the frame's parent (if it has one).
effectiveDepth
number - Absolute depth inclusive of the parents' relative depths.

Patch changes

References

 
  1. ^ Predicate 2016-05-25. Re: Nameplates and steroscopic 3D.