diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-09-05 12:30:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-05 12:30:22 +0200 |
commit | 26c073aa1d9bb0db7a908decef68c0bb9ed6b21b (patch) | |
tree | 70eec321f560b9c7216dded2062fd2b4caca806c | |
parent | 03b92ae9ba4ea6b1f610d2bad068ae87b595fbd3 (diff) | |
parent | 74df54a99e3e20d2e3378a7cf5c655a1727bb8c9 (diff) |
Merge pull request #63568 from santagada/patch-1
-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]. |