SimApi Timer deltaTime

From SIMboxWiki
Jump to navigation Jump to search



Icon attributes.pngstatic double SimApi::Timer::deltaTime()

    Description

    Gets the delta time in seconds from the last frame

    Return

    Type: double   Description: delta time in seconds from the last frame

    Remarks
    

The delta time may be affected by the timer step size set with SimApi::Timer::setStepSizeInSeconds.


    See Also

    setStepSizeInSeconds

    getStepSizeInSeconds

    Related Links

    Recommended: Simulation Time Overview