How to get the status of frame drawing complete

FrameDrawn can triggered when a frame has been drawn.But I want to get the status of frame drawing complete.How can I do?

I don’t think we have a callback that indicates all incremental update passes have completed. What you could do is set a timeout in the “frameDrawn” callback a bit longer than the framerate specified in "view.setMinimumFramerate() that gets cancelled and reset every time the callback is executed. If the timeout function gets triggered, the final update should have completed and the model is fully drawn.

Hope this helps.

One additional update: We also have the function waitForIdle on the webviewer object that might come in handy to check if a frame is fully drawn, though its not a callback:

https://docs.techsoft3d.com/communicator/latest/build/api_ref/typedoc/classes/communicator.webviewer.html#waitforidle

The function waitForIdle solves my problem.Thank you very much. :smile: