Bitmap for UWP
Lerp メソッド (ColorF)

C1.UWP.DX アセンブリ > C1.Util.DX 名前空間 > ColorF 構造体 : Lerp メソッド
Start color.
End color.
Value between 0 and 1 indicating the weight of end.
Performs a linear interpolation between two colors.
シンタックス
'宣言
 
Public Shared Function Lerp( _
   ByVal start As ColorF, _
   ByVal end As ColorF, _
   ByVal amount As System.Single _
) As ColorF
public static ColorF Lerp( 
   ColorF start,
   ColorF end,
   System.float amount
)

パラメータ

start
Start color.
end
End color.
amount
Value between 0 and 1 indicating the weight of end.

戻り値の型

The linear interpolation of the two colors.
解説
This method performs the linear interpolation based on the following formula. start + (end - start) * amountPassing amounta value of 0 will cause startto be returned; a value of 1 will cause endto be returned.
参照

ColorF 構造体
ColorF メンバ