Vector3.MaxNative(Vector3, Vector3) 方法

定义

比较两个向量,以确定每个元素使用特定于平台的行为 NaNNegativeZero

public:
 static System::Numerics::Vector3 MaxNative(System::Numerics::Vector3 value1, System::Numerics::Vector3 value2);
public static System.Numerics.Vector3 MaxNative (System.Numerics.Vector3 value1, System.Numerics.Vector3 value2);
static member MaxNative : System.Numerics.Vector3 * System.Numerics.Vector3 -> System.Numerics.Vector3
Public Shared Function MaxNative (value1 As Vector3, value2 As Vector3) As Vector3

参数

value1
Vector3
value2
Vector3

返回

如果相应元素大于 right,则其来自 left 的向量;否则,right

适用于