The Vector4 type exposes the following members.

Constructors

  NameDescription
Vector4Overloaded.

Methods

  NameDescription
Abs
Calculate absolute values of the vector.
AddOverloaded.
DivideOverloaded.
Dot
Calculates dot product of two vectors.
EqualsOverloaded.
GetHashCode
Returns the hashcode for this instance.
(Overrides ValueType..::.GetHashCode()()().)
Inverse
Inverse the vector.
MultiplyOverloaded.
Normalize
Normalizes the vector by dividing it’s all coordinates with the vector's norm.
SubtractOverloaded.
ToArray
Returns array representation of the vector.
ToString
Returns a string representation of this object.
(Overrides ValueType..::.ToString()()().)
ToVector3
Converts the vector to a 3D vector.

Operators

  NameDescription
AdditionOverloaded.
DivisionOverloaded.
Equality
Tests whether two specified vectors are equal.
Inequality
Tests whether two specified vectors are not equal.
MultiplyOverloaded.
SubtractionOverloaded.

Fields

  NameDescription
W
W coordinate of the vector.
X
X coordinate of the vector.
Y
Y coordinate of the vector.
Z
Z coordinate of the vector.

Properties

  NameDescription
Max
Returns maximum value of the vector.
MaxIndex
Returns index of the coordinate with maximum value.
Min
Returns minimum value of the vector.
MinIndex
Returns index of the coordinate with minimum value.
Norm
Returns vector's norm.
Square
Returns square of the vector's norm.

See Also