简体   繁体   English

iOS,swift,scenekit,场景加载事件

[英]iOS, swift, scenekit, scene loaded event

I have set up a complex scene in SceneKit. 我在SceneKit中设置了一个复杂的场景。

It takes a few seconds after viewDidLoad to show the Scene. viewDidLoad显示场景需要几秒钟。

Is there a simple way to find if the scene is ready and displayed? 有没有一种简单的方法来查找场景是否准备好并显示出来? (for example to hide the "loading"-dialog) Thanks in advance! (例如隐藏“loading”-dialog)先谢谢!

你可以看看SCNSceneRenderer.delegate-renderer:didRenderScene:atTime:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM