Half.Lerp(Half, Half, Half) Metodo

Definizione

Esegue un'interpolazione lineare tra due valori in base al peso specificato.

public:
 static Half Lerp(Half value1, Half value2, Half amount) = System::Numerics::IFloatingPointIeee754<Half>::Lerp;
public static Half Lerp (Half value1, Half value2, Half amount);
static member Lerp : Half * Half * Half -> Half
Public Shared Function Lerp (value1 As Half, value2 As Half, amount As Half) As Half

Parametri

value1
Half

Primo valore, che deve essere il limite inferiore.

value2
Half

Secondo valore, che deve essere il limite superiore.

amount
Half

Valore, destinato a essere compreso tra 0 e 1, che indica il peso dell'interpolazione.

Restituisce

Valore interpolato.

Implementazioni

Si applica a