ByteKeyFrame.InterpolateValue(Byte, Double) メソッド

定義

提供された進行状況の増分での特定のキー フレームの補間値を返します。

public:
 System::Byte InterpolateValue(System::Byte baseValue, double keyFrameProgress);
public byte InterpolateValue (byte baseValue, double keyFrameProgress);
member this.InterpolateValue : byte * double -> byte
Public Function InterpolateValue (baseValue As Byte, keyFrameProgress As Double) As Byte

パラメーター

baseValue
Byte

アニメーション付けの元の値。

keyFrameProgress
Double

このキー フレームの経過時間の割合を示す 0.0 ~ 1.0 の値。

戻り値

Byte

指定された基準値と進行状況が示された、このキー フレームの出力値。

例外

keyFrameProgress が 0.0 から 1.0 の範囲にない場合に発生します。

注釈

基本値は、通常、アニメーション化されるプロパティの初期値、または前の Value キー フレームの初期値です。

ほとんどの実装では、when keyFrameProgress が 0.0 のbaseValue値を返します。

適用対象