Answered
0
0

Hi,

I am using Unity and would like to access fmod parameters by index instead of strings (for improved performance). I know there is a function setParameterValueByIndex, but I can’t figure out how to get the index of a parameter.

Thanks!

  • You must to post comments
Best Answer
1
0
  • Omer Liran

    So would index 1 be the first parameter, 2 the 2nd, etc?

  • Nicholas Wilcox

    No, use getParameterByIndex() to look at the name to find the parameter you’re looking for.

  • Omer Liran

    Ah, thank you! I got it working using this information. I used getParamaterByIndex and then used getDescription.name to match name to id. Then stored id in list so I can reference it whenever I need it.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.