Folliage animation

I downloaded some files on the marketplace from infinity blade and the plants have some sort of animation of the leaves inside of the materials, how can I make that? Can someone point me to some tutorial or documentation about it?

Ah that is amazing, thanks a lot!

speedtree has bones to use for as wind in Unreal