Files
godot-demo-projects/3d/physics_tests/utils/label_fps.gd
2025-10-11 05:03:59 -07:00

6 lines
159 B
GDScript

extends Label
func _process(_delta: float) -> void:
text = "%d FPS (%.2f mspf)" % [Engine.get_frames_per_second(), 1000.0 / Engine.get_frames_per_second()]