Hey ZoltanE,
Not that I need a super in depth explanation, but if you could elaborate on why you need this option exposed to foliage, and how you plan on implementing this in your own project I can enter a feature request to have this added.
Thank you,