The short answer is that unfortunately Lists of parameters (or lists of classes with parameters in this case), are not supported right now. However, adding dynamic parameters is in a similar fashion to how it is done with the AnimateProperties clip, is.
The catch here is that for an AnimatableParameter to be registered/added (look at “AnimationDataCollection.TryAddParameter” method), a member path targeting a field or property has to be provided as well. However, the problem here is that all the code related to member paths, does not handle lists at all and it was quite tricky the last time I gave it a try, but didn’t end up pursuing it further since I didn’t had a use case for it at the time for any clip.
So, to achieve what you want I will basically need to refactor all code related to member paths so that lists are supported, which admittedly I find it useful. As I stated earlier it was quite tricky to do the last time I gave it a try, but if this a must have feature for you, I will gladly give it another sooner 🙂
Let me know.
Thank you!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.