語言

EasingInt16KeyFrame.InterpolateValueCore(Int16, Double) 方法

定義

根據所用的易度函數,在先前關鍵幀值與當前關鍵幀值之間插值,並利用提供的進度增量。

protected:
 override short InterpolateValueCore(short baseValue, double keyFrameProgress);
protected override short InterpolateValueCore(short baseValue, double keyFrameProgress);
override this.InterpolateValueCore : int16 * double -> int16
Protected Overrides Function InterpolateValueCore (baseValue As Short, keyFrameProgress As Double) As Short

參數

baseValue
Int16

動畫的價值。

keyFrameProgress
Double

一個介於 0.0 到 1.0 之間的值(含含),用來指定該關鍵幀所經過的時間百分比。

傳回

根據指定的基值與進度,該關鍵影格的輸出值。

適用於

另請參閱