SceneView.AnimationTimeTransformer

公開靜態介面 SceneView.AnimationTimeTransformer

定義從 Choreographer 時間到動畫時間的轉換。用於控制 SceneView 中的動畫播放作業。

公用方法

長標題
getAnimationTime(長 choreographerTime)
轉換從 Choreographer 產生的奈秒時間以產生動畫更新時間。

公用方法

公開抽象 長 getAnimationTime (long choreographerTime)

轉換從 Choreographer 產生的奈秒時間以產生動畫更新時間。輸入 nano 時間可用於確保傳回的時間不會減少。

參數
choreographerTime 目前從 Choreographer 傳回的畫面時間。