How to access Blend Tree "speed" in Mecanim from C#

I wonder how I can access the “speed” variable in Blend Tree through C#? Checked the docs but didn’t find anything relevant. Any suggestions? Thanks in advance.


Attaching image for clarity:

Unfortunately, it seems that the speed of individual animator states (whether they be in a blend tree or atomic motion fields) is accessible only via the inspector and not through code at runtime.

You can set the overall Animator speed, or you could follow the workaround offered here: