System.Numerics.Vector4
A structure encapsulating four single precision floating point values and provides hardware accelerated methods.
The W component of the vector.
The X component of the vector.
The Y component of the vector.
The Z component of the vector.
Returns the vector (1,1,1,1).
Returns the vector (0,0,0,1).
Returns the vector (1,0,0,0).
Returns the vector (0,1,0,0).
Returns the vector (0,0,1,0).
Returns the vector (0,0,0,0).
Constructs a vector whose elements are all the single specified value.
Constructs a vector with the given individual elements.
Constructs a Vector4 from the given Vector2 and a Z and W component.
Constructs a Vector4 from the given Vector3 and a W component.
Returns a vector whose elements are the absolute values of each of the source vector's elements.
Adds two vectors together.
Restricts a vector between a min and max value.
Returns the Euclidean distance between the two given points.
Returns the Euclidean distance squared between the two given points.
Divides the first vector by the second.
Divides the vector by the given scalar.
Returns the dot product of two vectors.
Linearly interpolates between two vectors based on the given weighting.
Returns a vector whose elements are the maximum of each of the pairs of elements in the two source vectors.
Returns a vector whose elements are the minimum of each of the pairs of elements in the two source vectors.
Multiplies two vectors together.
Multiplies a vector by the given scalar.
Multiplies a vector by the given scalar.
Negates a given vector.
Returns a vector with the same direction as the given vector, but with a length of 1.
Adds two vectors together.
Divides the first vector by the second.
Divides the vector by the given scalar.
Returns a boolean indicating whether the two given vectors are equal.
Returns a boolean indicating whether the two given vectors are not equal.
Multiplies two vectors together.
Multiplies a vector by the given scalar.
Multiplies a vector by the given scalar.
Subtracts the second vector from the first.
Negates a given vector.
Returns a vector whose elements are the square root of each of the source vector's elements.
Subtracts the second vector from the first.
Transforms a vector by the given matrix.
Transforms a vector by the given matrix.
Transforms a vector by the given matrix.
Transforms a vector by the given Quaternion rotation value.
Transforms a vector by the given Quaternion rotation value.
Transforms a vector by the given Quaternion rotation value.
Copies the contents of the vector into the given array.
Copies the contents of the vector into the given array, starting from index.
Returns a boolean indicating whether the given Vector4 is equal to this Vector4 instance.
Returns the length of the vector. This operation is cheaper than Length().
Returns the length of the vector squared.
Returns a String representing this Vector4 instance, using the specified format to format individual elements.
Returns a String representing this Vector4 instance, using the specified format to format individual elements
and the given IFormatProvider.