C# 클래스 Nez.Time

provides frame timing information
파일 보기 프로젝트 열기: prime31/Nez 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
altDeltaTime float
altTimeScale float
deltaTime float
frameCount uint
time float
timeScale float
timeSinceSceneLoad float
unscaledDeltaTime float

비공개 메소드들

메소드 설명
checkEvery ( float interval ) : bool
sceneChanged ( ) : void
update ( float dt ) : void

프로퍼티 상세

altDeltaTime 공개적으로 정적으로 프로퍼티

secondary deltaTime for use when you need to scale two different deltas simultaneously
public static float altDeltaTime
리턴 float

altTimeScale 공개적으로 정적으로 프로퍼티

time scale of altDeltaTime
public static float altTimeScale
리턴 float

deltaTime 공개적으로 정적으로 프로퍼티

delta time from the previous frame to the current, scaled by timeScale
public static float deltaTime
리턴 float

frameCount 공개적으로 정적으로 프로퍼티

total number of frames that have passed
public static uint frameCount
리턴 uint

time 공개적으로 정적으로 프로퍼티

total time the game has been running
public static float time
리턴 float

timeScale 공개적으로 정적으로 프로퍼티

time scale of deltaTime
public static float timeScale
리턴 float

timeSinceSceneLoad 공개적으로 정적으로 프로퍼티

total time since the Scene was loaded
public static float timeSinceSceneLoad
리턴 float

unscaledDeltaTime 공개적으로 정적으로 프로퍼티

unscaled version of deltaTime. Not affected by timeScale
public static float unscaledDeltaTime
리턴 float