Why Mode-Foliage Paint Only Overrides Single Material

I have 2 numbers of Override Materials. When I paint the foliage, only the first material works. 1.What does the Override Materials Array actually mean? Why it is a Array? 2.How can I paint the foliage with more than one material?