Created a page for the Inverted Delta Time page. |
m YoshBot moved page ProtoFlux:Inverted Delta Time to ProtoFlux:InvertedDeltaTime: Automated: removing spaces from ProtoFlux namespace |
||
(One intermediate revision by one other user not shown) | |||
Line 26: | Line 26: | ||
[[Category:ProtoFlux:Time]] | [[Category:ProtoFlux:Time]] | ||
[[Category:ContinuouslyChanging nodes]] |
Latest revision as of 00:24, 21 August 2025
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
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.