Interpolator.SetKeyFrame 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| SetKeyFrame(Int32, Int32, Single[]) |
將關鍵幀(由索引指定)指派一個時間值和一個鍵值陣列(其中隱含混合陣列為 [0, 0, 1, 1] 以線性轉換至下一組鍵值)。 |
| SetKeyFrame(Int32, Int32, Single[], Single[]) |
指派 keyFrame (由 index 指定)時間值和索引鍵值陣列,並混合數位列。 |
SetKeyFrame(Int32, Int32, Single[])
將關鍵幀(由索引指定)指派一個時間值和一個鍵值陣列(其中隱含混合陣列為 [0, 0, 1, 1] 以線性轉換至下一組鍵值)。
[Android.Runtime.Register("setKeyFrame", "(II[F)V", "GetSetKeyFrame_IIarrayFHandler")]
public virtual void SetKeyFrame(int index, int msec, float[]? values);
[<Android.Runtime.Register("setKeyFrame", "(II[F)V", "GetSetKeyFrame_IIarrayFHandler")>]
abstract member SetKeyFrame : int * int * single[] -> unit
override this.SetKeyFrame : int * int * single[] -> unit
參數
- index
- Int32
要指派的主要畫面格索引
- msec
- Int32
這個主要畫面格的時間(在米利利塞康茲)。 根據 SystemClock.uptimeMillis() 時鐘
- values
- Single[]
與is 主要畫面格相關聯的值數組
- 屬性
備註
將關鍵幀(由索引指定)指派一個時間值和一個鍵值陣列(其中隱含混合陣列為 [0, 0, 1, 1] 以線性轉換至下一組鍵值)。
的 android.graphics.Interpolator.setKeyFrame(int, int, float[])Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
SetKeyFrame(Int32, Int32, Single[], Single[])
指派 keyFrame (由 index 指定)時間值和索引鍵值陣列,並混合數位列。
[Android.Runtime.Register("setKeyFrame", "(II[F[F)V", "GetSetKeyFrame_IIarrayFarrayFHandler")]
public virtual void SetKeyFrame(int index, int msec, float[]? values, float[]? blend);
[<Android.Runtime.Register("setKeyFrame", "(II[F[F)V", "GetSetKeyFrame_IIarrayFarrayFHandler")>]
abstract member SetKeyFrame : int * int * single[] * single[] -> unit
override this.SetKeyFrame : int * int * single[] * single[] -> unit
參數
- index
- Int32
要指派的主要畫面格索引
- msec
- Int32
這個主要畫面格的時間(在米利利塞康茲)。 根據 SystemClock.uptimeMillis() 時鐘
- values
- Single[]
與is 主要畫面格相關聯的值數組
- blend
- Single[]
(可能是 Null)4 個混合值的選擇性數位
- 屬性
備註
指派 keyFrame (由 index 指定)時間值和索引鍵值陣列,並混合數位列。
的 android.graphics.Interpolator.setKeyFrame(int, int, float[], float[])Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。