語言

IInterpolator.GetInterpolation(Single) 方法

定義

將經過的動畫分率映射為插值分數。

[Android.Runtime.Register("getInterpolation", "(F)F", "GetGetInterpolation_FHandler:Android.Views.Animations.IInterpolatorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public float GetInterpolation(float input);
[<Android.Runtime.Register("getInterpolation", "(F)F", "GetGetInterpolation_FHandler:Android.Views.Animations.IInterpolatorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetInterpolation : single -> single

參數

input
Single

一個介於 0 到 1.0 之間的值,表示動畫目前的點,0 是開始,1.0 是結束。

傳回

插值值,對於過衝插值可以大於 1.0,對於欠衝插值則可以小於 0。

實作

屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於