SceneManager:GetScreenOcclusion

From Data Realms Wiki

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