Can I stretch a spline mesh without stretching its material, too?

I am struggling now how to combine the node “WorldAlignedTexture” with “GeneratedOffsetBands”. The latter “procedurally generates a horizontal or vertical band from the default TextureCoordinates”. Its output is float, not Texture2D.