Vector4.Normalize(Vector4) 方法
定义
返回一个向量,其方向与指定向量相同,但长度为一。Returns a vector with the same direction as the specified vector, but with a length of one.
public:
static System::Numerics::Vector4 Normalize(System::Numerics::Vector4 vector);
public static System.Numerics.Vector4 Normalize (System.Numerics.Vector4 vector);
static member Normalize : System.Numerics.Vector4 -> System.Numerics.Vector4
Public Shared Function Normalize (vector As Vector4) As Vector4
参数
- vector
- Vector4
要规范化的向量。The vector to normalize.
返回
规范化的向量。The normalized vector.