SceneManager:CheckOffset

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxCheckOffset( * Which screen you want to set the offset of. )
Description:
Makes sure the current offset won't create a view of outside the scene. If that is found to be the case, the offset is corrected so that the view rectangle is as close to the old offset as possible, but still entirely within the scene world.
ReturnsNone.




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