Starting from version 1078, the API prefix has been changed from hbs to qg. The original prefix hbs is still supported.
API | Description |
|---|---|
Changes the rendering frame rate. | |
Requests an animation frame. | |
Cancels a callback request registered using the requestAnimationFrame method. |
Changes the rendering frame rate. The default rendering frame rate is 60 fps. After the rendering frame rate is changed, the callback frequency of requestAnimationFrame changes as well.
Parameter | Type | Mandatory | Description |
|---|---|---|---|
fps | number | Yes | The value ranges from 1 to 60. |