Can I control foliage parameters through a material?

Trought material the only ways I know is trought vertex animation, but that isn’t cheaper for foliage, it is used in particles and effect