C# Класс Myre.Extensions.GameTimeExtensions

A static class containing extension methods for the Microsoft.Xna.Framework.GameTime class.
Показать файл Открыть проект

Открытые методы

Метод Описание
Seconds ( this t ) : float

Gets the number of seconds elapsed since the last frame.

TotalSeconds ( this t ) : double

Gets the total number of seconds elapsed since the game started.

Описание методов

Seconds() публичный статический Метод

Gets the number of seconds elapsed since the last frame.
public static Seconds ( this t ) : float
t this The t.
Результат float

TotalSeconds() публичный статический Метод

Gets the total number of seconds elapsed since the game started.
public static TotalSeconds ( this t ) : double
t this The t.
Результат double