小游戏
小程序
小游戏
小商店
公众号
智能对话
开放平台
企业微信
微信支付
视频号
腾讯小微
开发
介绍
设计
运营
数据
社区
中文
EN
取消
查看更多
在游戏下暂无结果,查看其它业务相关内容 >
指南
框架
API
服务端
工具
云开发
云托管
云测试
开发
开发
介绍
设计
运营
数据
社区
中文
EN
中文
EN
取消
API
#
wx.setPreferredFramesPerSecond(number fps)
#
功能描述
可以修改渲染帧率。默认渲染帧率为 60 帧每秒。修改后,requestAnimationFrame 的回调频率会发生改变。
#
参数
#
number fps
帧率,有效范围 1 - 60。
The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation.
Tap to report.
复制
问题反馈
反馈