SceneManager:GetScreenOcclusion

From Data Realms Wiki

Revision as of 00:48, 28 June 2012 by Beautifybot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
SyntaxGetScreenOcclusion( * Which screen you want to get the occlusion value of. )
Description:
Gets the amount that a specific screen is occluded by a GUI panel or something of the sort. This will affect how the scroll target translates into the offset of the screen, in order to keep the target centered on the screen.
ReturnsA Vector that indicates the amount of occlusion of the screen.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools