diff options
author | Leonardo Santagada <santagada@gmail.com> | 2022-07-28 10:26:26 +0200 |
---|---|---|
committer | Leonardo Santagada <santagada@gmail.com> | 2022-08-26 23:43:59 +0200 |
commit | 74df54a99e3e20d2e3378a7cf5c655a1727bb8c9 (patch) | |
tree | 9b871236cde24473134cd1f057668fb5a88209aa /doc | |
parent | f99f5a588746ba0b417ecb3a6cd79ee9459db57c (diff) |
Mention an issue with infinite scroll on mirroring of Parallax layer
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/ParallaxLayer.xml | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ <members> <member name="motion_mirroring" type="Vector2" setter="set_mirroring" getter="get_mirroring" default="Vector2(0, 0)"> 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. </member> <member name="motion_offset" type="Vector2" setter="set_motion_offset" getter="get_motion_offset" default="Vector2(0, 0)"> The ParallaxLayer's offset relative to the parent ParallaxBackground's [member ParallaxBackground.scroll_offset]. |