SceneManager:GetScreenOcclusion

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
Beautifybot (Talk | contribs)
(updating function page)

Latest revision as of 00:48, 28 June 2012

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