Hey Community. I recently asked about How to get FPS?
I got that there is an extension to do so. So, I downloaded it. After that, I wanted to see how we get FPS so I saw the code of that extension and there, I got a common expression. Its TimeDelta() expression. So I am here to ask you, what is TimeDelta(), what does it return?
In a nutshell, TimeDelta() is a function that returns the number of elapsed seconds since the last frame was drawn. For a game running at 60 frames per second (FPS) itβs 1/60th of a second, or around 0.0167.