Wiki > TV3D65 Index > TVEngine

AccurateTimeElapsed

DESCRIPTION

-This page has been generated automatically. Please improve it by adding a description and additional information.

DECLARATION

VB.NET AccurateTimeElapsed() As Single
C++ float AccurateTimeElapsed()

PARAMETERS

None

RETURN VALUE

Single Description of what the return value means.

EXAMPLES

ExampleBasic example.

'VB.NET example
 
'Accurate Time Elapsed, useful to output it to the screen
 
Text.TextureFont_DrawText("Accurate Time Elapsed" & TV.AccurateTimeElapsed, 10, 100, TVglobal.RGBA(1, 0, 0, 1), MenuFont)
 
'It Should be use to keep constant timing during FPS fluctuations
Public Object_Rotation_Timer as single
 
Object_Rotation_Timer = Object_Rotation_Timer + (0.1 / TV.AccurateTimeElapsed)
Mesh.SetRotation(0, Object_Rotation_Timer, 0)
 

TIPS

  • Please add any notes or tips for this method.
 
tvengine/accuratetimeelapsed.txt · Last modified: 2013/11/22 13:31