14 lines
413 B
GDScript
14 lines
413 B
GDScript
extends TextureRect
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
texture = Global.EgoVehicle3D.MainSubGetTexture()
|
|
pass # Replace with function body.
|
|
|
|
func _physics_process(delta: float) -> void:
|
|
Global.EgoVehicle3D.main_sub_viewport.size = size
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta: float) -> void:
|
|
pass
|