Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | SIsilicon |
Is it possible to call some sort of function to update the viewport in script. I am attempting to update a viewport in like a loop. Ping-ponging if you will. Something like-
func ping_pong_textures(first_viewport, second_viewport):
for i in range(3):
first_viewport.update()
second_viewport.update()
return first_viewport.get_texture()
And since this question is about Godot 3, screen_capture function is deprecated(which also means the document needs updating).