FrameTime

パブリック クラス FrameTime

現在のフレームの時間情報を提供します。

パブリック メソッド

浮動小数点数
getDeltaSeconds()
このフレームと最後のフレームの間の時間(秒)を取得します。
long
getDeltaTimeTimeUnit 単位)
このフレームと最後のフレームの間の時間を取得します。
浮動小数点数
getStartSeconds()
このフレームの開始時刻を秒単位で取得します。
long
getStartTimeTimeUnit 単位)
このフレームの開始時刻を取得します。

継承されるメソッド

パブリック メソッド

public float getDeltaSeconds ()

このフレームと最後のフレームの間の時間(秒)を取得します。

public long getDeltaTime TimeUnit 単位)

このフレームと最後のフレームの間の時間を取得します。

パラメータ
単位 単位時間は
戻り値
  • フレーム間の時間

public float getStartSeconds ()

このフレームの開始時刻を秒単位で取得します。

public long getStartTime TimeUnit 単位)

このフレームの開始時刻を取得します。

パラメータ
単位 単位時間は
戻り値
  • フレームの開始時間(ナノ秒単位)