How to set the animation rate in advance?

I want to play a simple looping animation by specifying an animation asset from PlayAnimation, but how can I specify the playback rate in advance?
I tried using the SetPlayRate function, but nothing happened.