Vector3 Methods |
The Vector3 type exposes the following members.
| Name | Description | |
|---|---|---|
| Add(Vector3) | Vector3 addition
| |
| Add(Vector3, Vector3) | Vector3 addition
| |
| Cross(Vector3) |
Cross product of two Vector3s
| |
| Cross(Vector3, Vector3) |
Cross product of two Vector3s
| |
| Dot(Vector3) |
Dot product of two Vector3s
| |
| Dot(Vector3, Vector3) |
Dot product of two Vector3s
| |
| DotD(Vector3) |
Dot product of two Vector3s
| |
| DotD(Vector3, Vector3) |
Dot product of two Vector3s
| |
| Equals(Object) | Vector3 exact equality - see EQ(Vector3, Vector3) for alternative
(Overrides ValueTypeEquals(Object).) | |
| Equals(Vector3) | Vector3 exact equality - see EQ(Vector3, Vector3) for alternative
| |
| GetHashCode |
Returns the hash code for the current Vector3.
(Overrides ValueTypeGetHashCode.) | |
| Length |
Length of Vector3 | |
| Length(Vector3) |
Length of Vector3 | |
| LengthD |
Length of Vector3 | |
| LengthD(Vector3) |
Length of Vector3 | |
| LengthSq |
Length squared of Vector3 | |
| LengthSq(Vector3) |
Length squared of Vector3 | |
| LengthSqD |
Length squared of Vector3 | |
| LengthSqD(Vector3) |
Length squared of Vector3 | |
| Lerp(Vector3, Double) | ||
| Lerp(Vector3, Vector3, Double) |
Linear interpolation between two Vector3s
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(Vector3, Vector3, Single) |
Linear interpolation between two Vector3s
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(Vector3) | Vector3 maximization - combination of the largest components
| |
| Maximize(Vector3, Vector3) | Vector3 maximization - combination of the largest components
| |
| Minimize(Vector3) | Vector3 minimization - combination of the smallest components
| |
| Minimize(Vector3, Vector3) | Vector3 minimization - combination of the smallest components
| |
| Multiply(Double) |
Scale the X, Y and Z components of Vector3 | |
| Multiply(Single) |
Scale the X, Y and Z components of Vector3 | |
| Multiply(Vector3) |
Scale the X, Y, and Z components of Vector3.
| |
| Multiply(Vector3, Vector3) |
Scale the X, Y, and Z components of Vector3 .
| |
| Multiply(Vector3, Double) |
Scale the X, Y and Z components of Vector3 | |
| Multiply(Vector3, Single) |
Scale the X, Y and Z components of Vector3 | |
| MultiplyAdd |
Combined multiplication and addition
| |
| Negate | Vector3 in-place negation.
| |
| Normalize | Vector3 normalization - make its length be 1
| |
| Normalize(Vector3) | Vector3 normalization - make its length be 1
| |
| ScalarTriple(Vector3, Vector3) |
Scalar triple product of three Vector3s
| |
| ScalarTriple(Vector3, Vector3, Vector3) |
Scalar triple product of three Vector3s
| |
| Scale(Double) |
Scale the X, Y, and Z components of Vector3 | |
| Scale(Single) |
Scale the X, Y, and Z components of Vector3 | |
| Scale(Vector3) |
Scale the X, Y, and Z components of Vector3.
| |
| Scale(Vector3, Vector3) |
Scale the X, Y, and Z components of Vector3 .
| |
| Scale(Vector3, Double) |
Scale the X, Y, and Z components of Vector3 | |
| Scale(Vector3, Single) |
Scale the X, Y, and Z components of Vector3 | |
| Subtract(Vector3) | Vector3 subtraction
| |
| Subtract(Vector3, Vector3) | Vector3 subtraction
| |
| ToString |
Returns a string that represents the current Vector3.
(Overrides ValueTypeToString.) | |
| Transform | ||
| TransformCoordinate(Matrix) | ||
| TransformCoordinate(Vector3, Matrix) | ||
| TransformNormal(Matrix) | ||
| TransformNormal(Quaternion) |
Transform this Vector3 normal by Quaternion | |
| TransformNormal(Vector3, Matrix) | ||
| TransformNormal(Vector3, Quaternion) |
Transform Vector3 normal by Quaternion | |
| VectorTriple(Vector3, Vector3) |
Vector triple product of three Vector3s
| |
| VectorTriple(Vector3, Vector3, Vector3) |
Vector triple product of three Vector3s
|