Click or drag to resize

Vector4 Methods

The Vector4 type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAdd(Vector4, Vector4) Performs vector addition on value1 and value2.
Public methodStatic memberAdd(Vector4, Vector4, Vector4) Performs vector addition on value1 and value2, storing the result of the addition in result.
Public methodStatic memberBarycentric(Vector4, Vector4, Vector4, Double, Double) Creates a new Vector4 that contains the cartesian coordinates of a vector specified in barycentric coordinates and relative to 4d-triangle.
Public methodStatic memberBarycentric(Vector4, Vector4, Vector4, Double, Double, Vector4) Creates a new Vector4 that contains the cartesian coordinates of a vector specified in barycentric coordinates and relative to 4d-triangle.
Public methodStatic memberCatmullRom(Vector4, Vector4, Vector4, Vector4, Double) Creates a new Vector4 that contains CatmullRom interpolation of the specified vectors.
Public methodStatic memberCatmullRom(Vector4, Vector4, Vector4, Vector4, Double, Vector4) Creates a new Vector4 that contains CatmullRom interpolation of the specified vectors.
Public methodStatic memberClamp(Vector4, Vector4, Vector4) Clamps the specified value within a range.
Public methodStatic memberClamp(Vector4, Vector4, Vector4, Vector4) Clamps the specified value within a range.
Public methodStatic memberDistance(Vector4, Vector4) Returns the distance between two vectors.
Public methodStatic memberDistance(Vector4, Vector4, Double) Returns the distance between two vectors.
Public methodStatic memberDistanceSquared(Vector4, Vector4) Returns the squared distance between two vectors.
Public methodStatic memberDistanceSquared(Vector4, Vector4, Double) Returns the squared distance between two vectors.
Public methodStatic memberDivide(Vector4, Vector4) Divides the components of a Vector4 by the components of another Vector4.
Public methodStatic memberDivide(Vector4, Double) Divides the components of a Vector4 by a scalar.
Public methodStatic memberDivide(Vector4, Vector4, Vector4) Divides the components of a Vector4 by the components of another Vector4.
Public methodStatic memberDivide(Vector4, Double, Vector4) Divides the components of a Vector4 by a scalar.
Public methodStatic memberDot(Vector4, Vector4) Returns a dot product of two vectors.
Public methodStatic memberDot(Vector4, Vector4, Double) Returns a dot product of two vectors.
Public methodEquals(Object) Compares whether current instance is equal to specified Object.
(Overrides ValueTypeEquals(Object))
Public methodEquals(Vector4) Compares whether current instance is equal to specified Vector4.
Public methodGetHashCode Gets the hash code of this Vector4.
(Overrides ValueTypeGetHashCode)
Public methodStatic memberHermite(Vector4, Vector4, Vector4, Vector4, Double) Creates a new Vector4 that contains hermite spline interpolation.
Public methodStatic memberHermite(Vector4, Vector4, Vector4, Vector4, Double, Vector4) Creates a new Vector4 that contains hermite spline interpolation.
Public methodLength Returns the length of this Vector4.
Public methodLengthSquared Returns the squared length of this Vector4.
Public methodStatic memberLerp(Vector4, Vector4, Double) Creates a new Vector4 that contains linear interpolation of the specified vectors.
Public methodStatic memberLerp(Vector4, Vector4, Double, Vector4) Creates a new Vector4 that contains linear interpolation of the specified vectors.
Public methodStatic memberMax(Vector4, Vector4) Creates a new Vector4 that contains a maximal values from the two vectors.
Public methodStatic memberMax(Vector4, Vector4, Vector4) Creates a new Vector4 that contains a maximal values from the two vectors.
Public methodStatic memberMin(Vector4, Vector4) Creates a new Vector4 that contains a minimal values from the two vectors.
Public methodStatic memberMin(Vector4, Vector4, Vector4) Creates a new Vector4 that contains a minimal values from the two vectors.
Public methodStatic memberMultiply(Vector4, Vector4) Creates a new Vector4 that contains a multiplication of two vectors.
Public methodStatic memberMultiply(Vector4, Double) Creates a new Vector4 that contains a multiplication of Vector4 and a scalar.
Public methodStatic memberMultiply(Vector4, Vector4, Vector4) Creates a new Vector4 that contains a multiplication of two vectors.
Public methodStatic memberMultiply(Vector4, Double, Vector4) Creates a new Vector4 that contains a multiplication of Vector4 and a scalar.
Public methodStatic memberNegate(Vector4) Creates a new Vector4 that contains the specified vector inversion.
Public methodStatic memberNegate(Vector4, Vector4) Creates a new Vector4 that contains the specified vector inversion.
Public methodNormalize Turns this Vector4 to a unit vector with the same direction.
Public methodStatic memberNormalize(Vector4) Creates a new Vector4 that contains a normalized values from another vector.
Public methodStatic memberNormalize(Vector4, Vector4) Creates a new Vector4 that contains a normalized values from another vector.
Public methodStatic memberSmoothStep(Vector4, Vector4, Double) Creates a new Vector4 that contains cubic interpolation of the specified vectors.
Public methodStatic memberSmoothStep(Vector4, Vector4, Double, Vector4) Creates a new Vector4 that contains cubic interpolation of the specified vectors.
Public methodStatic memberSubtract(Vector4, Vector4) Creates a new Vector4 that contains subtraction of on Vector4 from a another.
Public methodStatic memberSubtract(Vector4, Vector4, Vector4) Creates a new Vector4 that contains subtraction of on Vector4 from a another.
Public methodToString Represents the vector in string format
(Overrides ValueTypeToString)
Public methodStatic memberTransform(Vector2, Matrix44) Creates a new Vector4 that contains a transformation of 2d-vector by the specified Matrix44.
Public methodStatic memberTransform(Vector2, Quaternion) Creates a new Vector4 that contains a transformation of 2d-vector by the specified Quaternion.
Public methodStatic memberTransform(Vector3, Matrix44) Creates a new Vector4 that contains a transformation of 3d-vector by the specified Matrix44.
Public methodStatic memberTransform(Vector3, Quaternion) Creates a new Vector4 that contains a transformation of 3d-vector by the specified Quaternion.
Public methodStatic memberTransform(Vector4, Matrix44) Creates a new Vector4 that contains a transformation of 4d-vector by the specified Matrix44.
Public methodStatic memberTransform(Vector4, Quaternion) Creates a new Vector4 that contains a transformation of 4d-vector by the specified Quaternion.
Public methodStatic memberTransform(Vector2, Matrix44, Vector4) Creates a new Vector4 that contains a transformation of 2d-vector by the specified Matrix44.
Public methodStatic memberTransform(Vector2, Quaternion, Vector4) Creates a new Vector4 that contains a transformation of 2d-vector by the specified Quaternion.
Public methodStatic memberTransform(Vector3, Matrix44, Vector4) Creates a new Vector4 that contains a transformation of 3d-vector by the specified Matrix44.
Public methodStatic memberTransform(Vector3, Quaternion, Vector4) Creates a new Vector4 that contains a transformation of 3d-vector by the specified Quaternion.
Public methodStatic memberTransform(Vector4, Matrix44, Vector4) Creates a new Vector4 that contains a transformation of 4d-vector by the specified Matrix44.
Public methodStatic memberTransform(Vector4, Quaternion, Vector4) Creates a new Vector4 that contains a transformation of 4d-vector by the specified Quaternion.
Public methodStatic memberTransform(Vector4, Matrix44, Vector4) Apply transformation on all vectors within array of Vector4 by the specified Matrix44 and places the results in an another array.
Public methodStatic memberTransform(Vector4, Quaternion, Vector4) Apply transformation on all vectors within array of Vector4 by the specified Quaternion and places the results in an another array.
Public methodStatic memberTransform(Vector4, Int32, Matrix44, Vector4, Int32, Int32) Apply transformation on vectors within array of Vector4 by the specified Matrix44 and places the results in an another array.
Public methodStatic memberTransform(Vector4, Int32, Quaternion, Vector4, Int32, Int32) Apply transformation on vectors within array of Vector4 by the specified Quaternion and places the results in an another array.
Top
See Also