C# 클래스 Myre.Extensions.GameTimeExtensions

A static class containing extension methods for the Microsoft.Xna.Framework.GameTime class.
파일 보기 프로젝트 열기: martindevans/Myre

공개 메소드들

메소드 설명
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