ParallaxLayer
Inherits: Node2D < CanvasItem < Node < Object ParallaxBackground.
Description
ParallaxBackground node. Each ParallaxLayer can be set to move at different speeds relative to the camera movement or the ParallaxBackground.scroll_offset value. This node’s children will be affected by its scroll offset. Note: Any changes to this node’s position and scale made after it enters the scene will be ignored.
Properties
Property Descriptions
- Vector2 motion_mirroring
Texture mirroring. Useful for creating an infinite scrolling background. If an axis is set to
0, the Texture will not be mirrored.
- Vector2 motion_offset ParallaxBackground.scroll_offset.
- Vector2 motion_scale
0, it will not scroll.
