From b9eed3a455eeb981b6719d54d63c9f0039d3815c Mon Sep 17 00:00:00 2001 From: Leonardo Santagada Date: Thu, 28 Jul 2022 10:26:26 +0200 Subject: [PATCH] Mention an issue with infinite scroll on mirroring of Parallax layer (cherry picked from commit 74df54a99e3e20d2e3378a7cf5c655a1727bb8c9) --- doc/classes/ParallaxLayer.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/ParallaxLayer.xml b/doc/classes/ParallaxLayer.xml index d88009d7df7..69d0562ddf4 100644 --- a/doc/classes/ParallaxLayer.xml +++ b/doc/classes/ParallaxLayer.xml @@ -15,6 +15,7 @@ The ParallaxLayer's [Texture] mirroring. Useful for creating an infinite scrolling background. If an axis is set to [code]0[/code], the [Texture] 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].