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