C# Class Nez.Time

provides frame timing information
Afficher le fichier Open project: prime31/Nez Class Usage Examples

Méthodes publiques

Свойство Type Description
altDeltaTime float
altTimeScale float
deltaTime float
frameCount uint
time float
timeScale float
timeSinceSceneLoad float
unscaledDeltaTime float

Private Methods

Méthode Description
checkEvery ( float interval ) : bool
sceneChanged ( ) : void
update ( float dt ) : void

Property Details

altDeltaTime public_oe static_oe property

secondary deltaTime for use when you need to scale two different deltas simultaneously
public static float altDeltaTime
Résultat float

altTimeScale public_oe static_oe property

time scale of altDeltaTime
public static float altTimeScale
Résultat float

deltaTime public_oe static_oe property

delta time from the previous frame to the current, scaled by timeScale
public static float deltaTime
Résultat float

frameCount public_oe static_oe property

total number of frames that have passed
public static uint frameCount
Résultat uint

time public_oe static_oe property

total time the game has been running
public static float time
Résultat float

timeScale public_oe static_oe property

time scale of deltaTime
public static float timeScale
Résultat float

timeSinceSceneLoad public_oe static_oe property

total time since the Scene was loaded
public static float timeSinceSceneLoad
Résultat float

unscaledDeltaTime public_oe static_oe property

unscaled version of deltaTime. Not affected by timeScale
public static float unscaledDeltaTime
Résultat float