Axiom.Overlays.Overlay.Scroll C# (CSharp) Method

Scroll() public method

Scrolls the overlay by the offsets provided.
This method moves the overlay by the amounts provided. As with other methods on this object, a full screen width / height is represented by the value 1.0.
public Scroll ( float xOffset, float yOffset ) : void
xOffset float
yOffset float
return void
		public void Scroll( float xOffset, float yOffset )
		{
			scrollX += xOffset;
			scrollY += yOffset;
			isTransformOutOfDate = true;
			isTransformUpdated = true;
		}