Axiom.Overlays.Overlay.SetScroll C# (CSharp) Метод

SetScroll() публичный Метод

Sets the scrolling factor of this overlay.
You can use this to set an offset to be used to scroll an overlay around the screen.
public SetScroll ( float x, float y ) : void
x float /// Horizontal scroll value, where 0 = normal, -0.5 = scroll so that only /// the right half the screen is visible etc ///
y float /// Vertical scroll value, where 0 = normal, 0.5 = scroll down by half /// a screen etc. ///
Результат void
		public void SetScroll( float x, float y )
		{
			scrollX = x;
			scrollY = y;
			isTransformOutOfDate = true;
			isTransformUpdated = true;
		}