跳转到内容
查看源码

pause自动生成

分类:创作协议 · Session

暂停、继续或单步推进窗口中的场景时间(对应窗口里的 F8、F9、F7)。

Holds a window’s scene time still, lets it run, or steps it a frame (F8, F9 and F7 in the window).

{"id": 1, "op": "pause"}
名称 类型 必需 说明
paused bool 否 hold the time still (true) or let it run (false); as it is when not given
step integer 否 frames of 1/60 s to move the held time, back when below zero; pauses first

paused, time (the scene’s, in seconds); refused where the caller gives the time (serve: evaluate’s time)