ProtoFlux:Inverted Delta Time

From Resonite Wiki
Revision as of 07:29, 20 May 2024 by AmasterAmaster (talk | contribs) (Created a page for the Inverted Delta Time page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
1/dT
*
Time

The Inverted Delta Time node returns the frames per second, shown when pulling a display node from it and comparing it to the Dash's FPS counter.

This is done by taking the reciprocal of delta time: FPS = 1 / dT

Not to be confused with Delta Time, as that node focuses on how long each frame takes before the next one is rendered.

Example Calculation

For instance, if the delta time (dt) is 0.016 seconds (which is approximately the time per frame for a game running at 60 FPS), the FPS can be calculated as:

FPS = 1/0.016 ≈ 62.5

Outputs

* (float)

Returns the inverted delta time (1 / dT), showing the amount of frames in a second.