SceneManager:SetScroll

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxSetScroll( * A Vector that specifies the coordinates to center the terrain scroll on.
  • Which screen you want to set the offset of. )
Description:
Sets the offset (scroll position) of the terrain to center on specific world coordinates. If the coordinate to center on is close to the terrain border edges, the view will not scroll outside the borders.
ReturnsNone.




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