IUpdateableFrameTime
Description
- Extended by
-
CameraPath sealed
Component abstract
EnvironmentMapResource sealed
Example_Raytracer sealed
Gizmo abstract
IApplication
ICameraControl
ISceneObject
IWidget
IWidgetGui
ObjectList sealed
ParticleBuffer sealed
Scene sealed
SceneView sealed
ScrollControl sealed
SkyDome sealed
TerrainView sealed
Base interface for classes that are updated periodically, once per application loop cycle.
Public / Methods
UpdateFrameTime
This method is called once per application frame.
The given time in delta may be used to accumulate the total time since the first frame, using a 64-bit floating point variable for the sum:
float time; double sum; ... time = ...; // Frame time since the last frame ... sum += time; // Accumulate total frame time since first frame
When using the ApplicationLoop class, the accumulated total time can be queried with ApplicationLoop.TimeIndex.