Vector4.Lerp 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| Lerp(Vector4, Vector4, Single) | 
						 基于给定权重在两个向量之间执行线性内插。  | 
        	
| Lerp(Vector4, Vector4, Vector4) | 
Lerp(Vector4, Vector4, Single)
- Source:
 - Vector4.cs
 
- Source:
 - Vector4.cs
 
- Source:
 - Vector4.cs
 
基于给定权重在两个向量之间执行线性内插。
public:
 static System::Numerics::Vector4 Lerp(System::Numerics::Vector4 value1, System::Numerics::Vector4 value2, float amount);
	public static System.Numerics.Vector4 Lerp (System.Numerics.Vector4 value1, System.Numerics.Vector4 value2, float amount);
	static member Lerp : System.Numerics.Vector4 * System.Numerics.Vector4 * single -> System.Numerics.Vector4
	Public Shared Function Lerp (value1 As Vector4, value2 As Vector4, amount As Single) As Vector4
	参数
- value1
 - Vector4
 
第一个向量。
- value2
 - Vector4
 
第二个向量。
- amount
 - Single
 
一个介于 0 与 1 之间的值,指示 value2 的权重。
返回
内插的向量。
注解
此方法的行为在 .NET 5 中已更改。 有关详细信息,请参阅 Vector2.Lerp 和 Vector4.Lerp 的行为更改。
适用于
Lerp(Vector4, Vector4, Vector4)
public:
 static System::Numerics::Vector4 Lerp(System::Numerics::Vector4 value1, System::Numerics::Vector4 value2, System::Numerics::Vector4 amount);
	public static System.Numerics.Vector4 Lerp (System.Numerics.Vector4 value1, System.Numerics.Vector4 value2, System.Numerics.Vector4 amount);
	static member Lerp : System.Numerics.Vector4 * System.Numerics.Vector4 * System.Numerics.Vector4 -> System.Numerics.Vector4
	Public Shared Function Lerp (value1 As Vector4, value2 As Vector4, amount As Vector4) As Vector4
	参数
- value1
 - Vector4
 
- value2
 - Vector4
 
- amount
 - Vector4