From 74df54a99e3e20d2e3378a7cf5c655a1727bb8c9 Mon Sep 17 00:00:00 2001 From: Leonardo Santagada Date: Thu, 28 Jul 2022 10:26:26 +0200 Subject: Mention an issue with infinite scroll on mirroring of Parallax layer --- doc/classes/ParallaxLayer.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/classes/ParallaxLayer.xml b/doc/classes/ParallaxLayer.xml index 7e7c2d11ec..51a10f732d 100644 --- a/doc/classes/ParallaxLayer.xml +++ b/doc/classes/ParallaxLayer.xml @@ -13,6 +13,7 @@ The ParallaxLayer's [Texture2D] mirroring. Useful for creating an infinite scrolling background. If an axis is set to [code]0[/code], the [Texture2D] will not be mirrored. + If the length of the viewport axis is bigger than twice the mirrored axis size, it will not repeat infinitely, as the parallax layer only draws 2 instances of the texture at any one time. The ParallaxLayer's offset relative to the parent ParallaxBackground's [member ParallaxBackground.scroll_offset]. -- cgit v1.2.3