Vector4 Methods |
The Vector4 type exposes the following members.
| Name | Description | |
|---|---|---|
| Add(Vector4) | Vector4 addition
| |
| Add(Vector4, Vector4) | Vector4 addition
| |
| Dot(Vector4) |
Dot product of two Vector4s
| |
| Dot(Vector4, Vector4) |
Dot product of two Vector4s
| |
| DotD(Vector4) |
Dot product of two Vector4s
| |
| DotD(Vector4, Vector4) |
Dot product of two Vector4s
| |
| Equals(Object) | Vector4 exact equality - see EQ(Vector4, Vector4) for alternative
(Overrides ValueTypeEquals(Object).) | |
| Equals(Vector4) | Vector4 exact equality - see EQ(Vector4, Vector4) for alternative
| |
| GetHashCode |
Returns the hash code for the current Vector4.
(Overrides ValueTypeGetHashCode.) | |
| Length |
Length of Vector4 | |
| Length(Vector4) |
Length of Vector4 | |
| LengthD |
Length of Vector4 | |
| LengthD(Vector4) |
Length of Vector4 | |
| LengthSq |
Length squared of Vector4 | |
| LengthSq(Vector4) |
Length squared of Vector4 | |
| LengthSqD |
Length squared of Vector4 | |
| LengthSqD(Vector4) |
Length squared of Vector4 | |
| Lerp(Vector4, Double) | ||
| Lerp(Vector4, Vector4, Double) |
Linear interpolation between two Vector4s
This is most commonly used to find a point some fraction of the way along a line between two endpoints When t = 0 returns a. When t = 1 returns b. When t = 0.5 returns the point midway between a and b. | |
| Lerp(Vector4, Vector4, Single) |
Linear interpolation between two Vector4s
This is most commonly used to find a point some fraction of the way along a line between two endpoints When t = 0 returns a. When t = 1 returns b. When t = 0.5 returns the point midway between a and b. | |
| Maximize(Vector4) | Vector4 maximization - combination of the largest components
| |
| Maximize(Vector4, Vector4) | Vector4 maximization - combination of the largest components
| |
| Minimize(Vector4) | Vector4 minimization - combination of the smallest components
| |
| Minimize(Vector4, Vector4) | Vector4 minimization - combination of the smallest components
| |
| Multiply(Double) |
Scale the X, Y, Z and W components of Vector4 | |
| Multiply(Single) |
Scale the X, Y, Z and W components of Vector4 | |
| Multiply(Vector4) |
Scale the X, Y, Z and W components of Vector4.
| |
| Multiply(Vector4, Vector4) |
Scale the X, Y, and Z components of Vector4 .
| |
| Multiply(Vector4, Double) |
Scale the X, Y, Z and W components of Vector4 | |
| Multiply(Vector4, Single) |
Scale the X, Y, Z and W components of Vector4 | |
| MultiplyAdd |
Combined multiplication and addition
| |
| Negate | Vector4 in-place negation.
| |
| Normalize | Vector4 normalization - make its length be 1
| |
| Normalize(Vector4) | Vector4 normalization - make its length be 1
| |
| Scale(Double) |
Scale the X, Y, Z and W components of Vector4 | |
| Scale(Single) |
Scale the X, Y, Z and W components of Vector4 | |
| Scale(Vector4) |
Scale the X, Y, Z and W components of Vector4.
| |
| Scale(Vector4, Vector4) |
Scale the X, Y, Z and W components of Vector4 .
| |
| Scale(Vector4, Double) |
Scale the X, Y, Z and W components of Vector4 | |
| Scale(Vector4, Single) |
Scale the X, Y, Z and W components of Vector4 | |
| Subtract(Vector4) | Vector4 subtraction
| |
| Subtract(Vector4, Vector4) | Vector4 subtraction
| |
| ToString |
Returns a string that represents the current Vector4.
(Overrides ValueTypeToString.) | |
| Transform |