pag动画开发,是否有设置播放动画速率的方法 #2332
Answered
by
kevingpqi123
1169573997
asked this question in
Q&A
-
开发过程中,有一个需求,比如,导出的动画时长是5s,但是在程序里面想要这个动画时长在3s内播放完,就想着能不能设置一下播放的速率,找了一圈都没找到方法,请求有大佬提供方法吗? 自己也写了一个定时器来逐步播放帧,但是播放出来的效果并不理想。 |
Beta Was this translation helpful? Give feedback.
Answered by
kevingpqi123
Jun 7, 2024
Replies: 1 comment 3 replies
-
这些基础的问题建议看官方文档: 以及系统看 API 接口
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
kevingpqi123
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这些基础的问题建议看官方文档:
https://pag.art/docs/time-stretch.html
以及系统看 API 接口
Set the duration of this PAGFile. Passing a value less than or equal to 0 resets the duration to its default value.
Declared In
PAGFile.h