SceneManager:SetScrollTarget

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxSetScrollTarget( * The new target vector in *scene coordinates*.
  • The normalized speed at screen the view scrolls. 0 being no movement, and 1.0 being instant movement to the target in one frame.
  • Whether the target was wrapped around the scene this frame or not.
  • Which screen you want to set the offset of. )
Description:
Interpolates a smooth scroll of the view from wherever it is now, towards centering on a new scroll target over time.
ReturnsNone.




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