有类似unity中AnimationCurve的类吗

想要实现自定义曲线,有没有类似Unity中的AnimationCurve的类;直接在Animation中去K曲线的方式我知道,但是感觉太繁琐