共用方式為


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

適用於