Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Vercte |
extends Sprite2D
func _ready():
var viewportTexture = ViewportTexture.new()
viewportTexture.viewport_path = get_viewport()
texture = viewportTexture
How do I use the base viewport for something like this? It’s for splitscreen with multiple windows. The engine just doesn’t accept a Window for a ViewportTexture even though it inherits.