A parallax scrolling layer to be used with [ParallaxBackground].
A ParallaxLayer must be the child of a [ParallaxBackground] node. Each ParallaxLayer can be set to move at different speeds relative to the camera movement or the [member ParallaxBackground.scroll_offset] value. This node's children will be affected by its scroll offset. [b]Note:[/b] Any changes to this node's position and scale made after it enters the scene will be ignored.
- The ParallaxLayer's [Texture2D] repeating. Useful for creating an infinite scrolling background. If an axis is set to [code]0[/code], the [Texture2D] will not be repeated. If the length of the viewport axis is bigger than twice the repeated axis size, it will not repeat infinitely, as the parallax layer only draws 2 instances of the texture at any given time. [b]Note:[/b] Despite its name, the texture will not be mirrored, it will simply be repeated.
- The ParallaxLayer's offset relative to the parent ParallaxBackground's [member ParallaxBackground.scroll_offset].
- Multiplies the ParallaxLayer's motion. If an axis is set to [code]0[/code], it will not scroll.