0
0

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.

  • You must to post comments
0
0

This is a good point – thanks for the suggestion! We’ll add it to the API soon.

  • You must to post comments
0
0

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.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.