accumulatedTime property
The total amount of time that has accumulated since the last frame update.
Implementation
double accumulatedTime = 0;
The total amount of time that has accumulated since the last frame update.
double accumulatedTime = 0;