There needs to be a function to get the name of a parameter
It’s already stored somewhere in there now for EventInstance::getParameter
It’d be useful for writing tools that could list the parameters, and for debug rendering so you can inspect what the parameter values currently are.
- clevijoki asked 5 years ago
We have now added ParameterInstance::getDescription, which gives you the name and range of the parameter. We have also added EventDescription::getParameter, EventDescription::getParameterCount and EventDescription::getParameterByIndex; these functions allow you to query the parameters of an event without having to instantiate it first.
Unfortunately these changes didn’t make it into the 1.1 release, so they will be available in the 1.2 release.
Please login first to submit.