open fun switchSceneDirect(nextScene: Scene!): Unit
Switches the Scene
currently being displayed. It resets the OpenGL state and sets the projection matrix for the new scene.
Renderer#onRender(long, double)
). Calling this outside of the main thread may case unexpected behaviour.
nextScene
- Scene!: Scene
The scene to switch to.
open fun switchSceneDirect(nextScene: Scene!): Unit
Switches the Scene
currently being displayed. It resets the OpenGL state and sets the projection matrix for the new scene.
Renderer#onRender(long, double)
). Calling this outside of the main thread may case unexpected behaviour.