2021-01-29 22:11:14 +10:30
|
|
|
extends Control
|
2019-12-21 20:42:19 +10:30
|
|
|
|
2021-11-27 22:20:37 +10:30
|
|
|
export var ViewportPath := @'../NoteHandler/Viewport'
|
|
|
|
onready var Viewport := get_node(ViewportPath)
|
2020-05-02 16:09:51 +09:30
|
|
|
|
2019-12-21 20:42:19 +10:30
|
|
|
func _draw():
|
2021-01-29 22:11:14 +10:30
|
|
|
draw_texture_rect(Viewport.get_texture(), Rect2(Vector2.ZERO, rect_size), false)
|
|
|
|
# texture = Viewport.get_texture()
|