Reformat info text
This commit is contained in:
@@ -8,8 +8,8 @@ func _ready() -> void:
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
$VBoxContainer/Fps.text = "FPS: " + str(Performance.get_monitor(Performance.TIME_FPS))
|
||||
$VBoxContainer/Frametime.text = "FrameTime: " + str(Engine.get_physics_interpolation_fraction())
|
||||
$VBoxContainer/PT.text = "Process time: "+ str(Performance.get_monitor(Performance.TIME_PROCESS))
|
||||
$VBoxContainer/VideoMemory.text ="Video memory Used: " + str(Performance.get_monitor(Performance.RENDER_VIDEO_MEM_USED))
|
||||
$VBoxContainer/Fps.text = "FPS: %s" % Performance.get_monitor(Performance.TIME_FPS)
|
||||
$VBoxContainer/Frametime.text = "FrameTime: %s" % snapped(Engine.get_physics_interpolation_fraction(), 0.000001)
|
||||
$VBoxContainer/PT.text = "Process time: %s ms" % snapped(Performance.get_monitor(Performance.TIME_PROCESS)*1000, 0.001)
|
||||
$VBoxContainer/VideoMemory.text ="Video memory Used: %s MB" % snapped(Performance.get_monitor(Performance.RENDER_VIDEO_MEM_USED)/1024**2, 0.001)
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user