DioDocs for PDF
Lerp メソッド (Vector2)

GrapeCity.Documents.DX.Windows アセンブリ > GrapeCity.Documents.DX 名前空間 > Vector2 構造体 : Lerp メソッド
The first vector.
The second vector.
A value between 0 and 1 that indicates the weight of value2.
Performs a linear interpolation between two vectors based on the given weighting.
シンタックス
'宣言
 
Public Shared Function Lerp( _
   ByVal value1 As Vector2, _
   ByVal value2 As Vector2, _
   ByVal amount As System.Single _
) As Vector2
public static Vector2 Lerp( 
   Vector2 value1,
   Vector2 value2,
   System.float amount
)

パラメータ

value1
The first vector.
value2
The second vector.
amount
A value between 0 and 1 that indicates the weight of value2.

戻り値の型

The interpolated vector.
参照

Vector2 構造体
Vector2 メンバ