Vector3.Round 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Round(Vector3) | |
Round(Vector3, MidpointRounding) |
Round(Vector3)
public:
static System::Numerics::Vector3 Round(System::Numerics::Vector3 vector);
public static System.Numerics.Vector3 Round (System.Numerics.Vector3 vector);
static member Round : System.Numerics.Vector3 -> System.Numerics.Vector3
Public Shared Function Round (vector As Vector3) As Vector3
參數
- vector
- Vector3
傳回
適用於
Round(Vector3, MidpointRounding)
public:
static System::Numerics::Vector3 Round(System::Numerics::Vector3 vector, MidpointRounding mode);
public static System.Numerics.Vector3 Round (System.Numerics.Vector3 vector, MidpointRounding mode);
static member Round : System.Numerics.Vector3 * MidpointRounding -> System.Numerics.Vector3
Public Shared Function Round (vector As Vector3, mode As MidpointRounding) As Vector3
參數
- vector
- Vector3
- mode
- MidpointRounding