Vector3F Methods |
The Vector3F type exposes the following members.
Name | Description | |
---|---|---|
Absolute |
Sets each vector component to its absolute value.
| |
Absolute(Vector3F) |
Returns a vector with the absolute values of the elements of the given vector.
| |
Add |
Adds two vectors.
| |
AreNumericallyEqual(Vector3F, Vector3F) |
Determines whether two vectors are equal (regarding the tolerance
EpsilonF).
| |
AreNumericallyEqual(Vector3F, Vector3F, Single) |
Determines whether two vectors are equal (regarding a specific tolerance).
| |
Clamp(Single, Single) |
Clamps the vector components to the range [min, max].
| |
Clamp(Vector3F, Single, Single) |
Returns a vector with the vector components clamped to the range [min, max].
| |
ClampToZero |
Clamps near-zero vector components to zero.
| |
ClampToZero(Single) |
Clamps near-zero vector components to zero.
| |
ClampToZero(Vector3F) |
Returns a vector with near-zero vector components clamped to 0.
| |
ClampToZero(Vector3F, Single) |
Returns a vector with near-zero vector components clamped to 0.
| |
Cross |
Calculates the cross product of two vectors.
| |
Divide(Vector3F, Vector3F) |
Divides the components of a vector by the components of another vector.
| |
Divide(Vector3F, Single) |
Divides a vector by a scalar.
| |
Dot |
Calculates the dot product of two vectors.
| |
Equals(Object) |
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).) | |
Equals(Vector3F) |
Indicates whether the current object is equal to another object of the same type.
| |
FromXna | ||
GetAngle |
Calculates the angle between two vectors.
| |
GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Max |
Returns a vector that contains the highest value from each matching pair of components.
| |
Min |
Returns a vector that contains the lowest value from each matching pair of components.
| |
Multiply(Single, Vector3F) |
Multiplies a vector by a scalar.
| |
Multiply(Vector3F, Vector3F) |
Multiplies the components of two vectors by each other.
| |
Negate |
Negates a vector.
| |
Normalize |
Normalizes the vector.
| |
Parse(String) |
Converts the string representation of a 3-dimensional vector to its Vector3F
equivalent.
| |
Parse(String, IFormatProvider) |
Converts the string representation of a 3-dimensional vector in a specified culture-specific
format to its Vector3F equivalent.
| |
ProjectTo(Vector3F) |
Sets this vector to its projection onto the axis given by the target vector.
| |
ProjectTo(Vector3F, Vector3F) |
Projects a vector onto an axis given by the target vector.
| |
Subtract |
Subtracts a vector from a vector.
| |
ToArray |
Converts this vector to an array of 3 float values.
| |
ToCrossProductMatrix |
Returns the cross product matrix (skew matrix) of this vector.
| |
ToList |
Converts this vector to a list of 3 float values.
| |
ToString |
Returns the string representation of this vector.
(Overrides ValueTypeToString.) | |
ToString(IFormatProvider) |
Returns the string representation of this vector using the specified culture-specific format
information.
| |
ToVector3D | ||
ToVectorF | ||
ToXna | ||
TryNormalize |
Tries to normalize the vector.
|