[This is preliminary documentation and is subject to change.]
The Vector4 type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Add(Vector4, Vector4) |
Adds two vectors.
| |
| Add(Vector4, Vector4, Vector4) |
Adds two vectors.
| |
| Barycentric(Vector4, Vector4, Vector4, Single, Single) |
Returns a Vector4 containing the 4D Cartesian coordinates of a point specified in Barycentric coordinates relative to a 4D triangle.
| |
| Barycentric(Vector4, Vector4, Vector4, Single, Single, Vector4) |
Returns a Vector4 containing the 4D Cartesian coordinates of a point specified in Barycentric coordinates relative to a 4D triangle.
| |
| CatmullRom(Vector4, Vector4, Vector4, Vector4, Single) |
Performs a Catmull-Rom interpolation using the specified positions.
| |
| CatmullRom(Vector4, Vector4, Vector4, Vector4, Single, Vector4) |
Performs a Catmull-Rom interpolation using the specified positions.
| |
| Clamp(Vector4, Vector4, Vector4) |
Restricts a value to be within a specified range.
| |
| Clamp(Vector4, Vector4, Vector4, Vector4) |
Restricts a value to be within a specified range.
| |
| Distance |
Calculates the distance between two vectors.
| |
| DistanceSquared |
Calculates the squared distance between two vectors.
| |
| Divide(Vector4, Single) |
Scales a vector by the given value.
| |
| Divide(Vector4, Single, Vector4) |
Scales a vector by the given value.
| |
| Dot |
Calculates the dot product of two vectors.
| |
| Equals(Object) |
Returns a value that indicates whether the current instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).) | |
| Equals(Vector4) |
Returns a value that indicates whether the current instance is equal to the specified object.
| |
| Equals(Vector4, Vector4) |
Determines whether the specified object instances are considered equal.
| |
| GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
| Hermite(Vector4, Vector4, Vector4, Vector4, Single) |
Performs a Hermite spline interpolation.
| |
| Hermite(Vector4, Vector4, Vector4, Vector4, Single, Vector4) |
Performs a Hermite spline interpolation.
| |
| Length |
Calculates the length of the vector.
| |
| LengthSquared |
Calculates the squared length of the vector.
| |
| Lerp(Vector4, Vector4, Single) |
Performs a linear interpolation between two vectors.
| |
| Lerp(Vector4, Vector4, Single, Vector4) |
Performs a linear interpolation between two vectors.
| |
| Maximize(Vector4, Vector4) |
Returns a vector containing the largest components of the specified vectors.
| |
| Maximize(Vector4, Vector4, Vector4) |
Returns a vector containing the smallest components of the specified vectors.
| |
| Minimize(Vector4, Vector4) |
Returns a vector containing the smallest components of the specified vectors.
| |
| Minimize(Vector4, Vector4, Vector4) |
Returns a vector containing the smallest components of the specified vectors.
| |
| Modulate(Vector4, Vector4) |
Modulates a vector by another.
| |
| Modulate(Vector4, Vector4, Vector4) |
Modulates a vector by another.
| |
| Multiply(Vector4, Single) |
Scales a vector by the given value.
| |
| Multiply(Vector4, Single, Vector4) |
Scales a vector by the given value.
| |
| Negate(Vector4) |
Reverses the direction of a given vector.
| |
| Negate(Vector4, Vector4) |
Reverses the direction of a given vector.
| |
| Normalize |
Converts the vector into a unit vector.
| |
| Normalize(Vector4) |
Converts the vector into a unit vector.
| |
| Normalize(Vector4, Vector4) |
Converts the vector into a unit vector.
| |
| SmoothStep(Vector4, Vector4, Single) |
Performs a cubic interpolation between two vectors.
| |
| SmoothStep(Vector4, Vector4, Single, Vector4) |
Performs a cubic interpolation between two vectors.
| |
| Subtract(Vector4, Vector4) |
Subtracts two vectors.
| |
| Subtract(Vector4, Vector4, Vector4) |
Subtracts two vectors.
| |
| ToString |
Converts the value of the object to its equivalent string representation.
(Overrides ValueTypeToString.) | |
| Transform(Vector4, Matrix) |
Transforms a 4D vector by the given Matrix.
| |
| Transform(Vector4, Quaternion) |
Transforms a 4D vector by the given Quaternion rotation.
| |
| Transform(Vector4, Matrix) |
Transforms an array of 4D vectors by the given Matrix.
| |
| Transform(Vector4, Quaternion) |
Transforms an array of 4D vectors by the given Quaternion rotation.
| |
| Transform(Vector4, Matrix, Vector4) |
Transforms a 4D vector by the given Matrix.
| |
| Transform(Vector4, Quaternion, Vector4) |
Transforms a 4D vector by the given Quaternion rotation.
|
See Also