Vector3.Lerp(Vector3, Vector3, Single) Yöntem

Tanım

Verilen ağırlık temelinde iki vektör arasında doğrusal ilişkilendirme gerçekleştirir.

public:
 static System::Numerics::Vector3 Lerp(System::Numerics::Vector3 value1, System::Numerics::Vector3 value2, float amount);
public static System.Numerics.Vector3 Lerp (System.Numerics.Vector3 value1, System.Numerics.Vector3 value2, float amount);
static member Lerp : System.Numerics.Vector3 * System.Numerics.Vector3 * single -> System.Numerics.Vector3
Public Shared Function Lerp (value1 As Vector3, value2 As Vector3, amount As Single) As Vector3

Parametreler

value1
Vector3

İlk vektör.

value2
Vector3

İkinci vektör.

amount
Single

ağırlığını gösteren 0 ile 1 arasında bir değer.value2

Döndürülenler

İlişkilendirilmiş vektör.

Şunlara uygulanır