| Vector3F Structure |
Namespace: Slash.Math.Algebra.Vectors
The Vector3F type exposes the following members.
| Name | Description | |
|---|---|---|
| Vector3F(Single) |
Constructor.
| |
| Vector3F(Vector3F) |
Constructor.
| |
| Vector3F(Vector3I) |
Constructor.
| |
| Vector3F(Single, Single, Single) |
Constructor.
|
| Name | Description | |
|---|---|---|
| IsNonZero |
Indicates if at least one vector component is not zero.
| |
| IsZero |
Indicates if all vector components are zero.
| |
| Magnitude |
Magnitude of the vector.
| |
| SquareMagnitude |
Square magnitude of the vector.
|
| Name | Description | |
|---|---|---|
| CalculateDotProduct |
Calculates the dot product of this and the passed vector. See http://en.wikipedia.org/wiki/Dot_product for more
details.
| |
| Dot |
Calculates the dot product of the two passed vectors. See http://en.wikipedia.org/wiki/Dot_product for more details.
| |
| Equals(Object) | (Overrides ValueTypeEquals(Object).) | |
| Equals(Vector3F) |
Determines whether the specified Vector3F is equal to the current Vector3F.
| |
| GetDistance |
Calculates the distance between this and the passed vector.
| |
| GetHashCode |
Serves as a hash function for a particular type.
(Overrides ValueTypeGetHashCode.) | |
| GetNormalized |
Returns the normalized vector.
| |
| GetSquareDistance |
Calculates the square distance between this and the passed vector.
| |
| Max |
Returns a vector that is made from the largest components of two vectors.
| |
| Min |
Returns a vector that is made from the smallest components of two vectors.
| |
| Normalize |
Normalizes this vector.
| |
| ToString |
Returns a string that represents the current object.
(Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| Addition |
Sums the components of the passed vectors and returns the resulting vector.
| |
| Division |
Divides each component of the passed vector by the passed value.
| |
| Equality |
Indicates if the two passed vectors are equal.
| |
| Inequality |
Indicates if the two passed vectors are not equal.
| |
| Multiply(Single, Vector3F) |
Multiplies each vector component with the passed float value.
| |
| Multiply(Vector3F, Vector3F) |
Multiplies each vector component of the two passed vectors.
| |
| Multiply(Vector3F, Single) |
Multiplies each vector component with the passed float value.
| |
| Subtraction |
Subtracts the components of the second passed vector from the first passed.
| |
| UnaryNegation |
Negates each component of the passed vector.
|
| Name | Description | |
|---|---|---|
| Forward |
Unrotated forward vector.
| |
| One |
All vector components are 1.
| |
| Right |
Unrotated side vector.
| |
| Up |
Unrotated up vector.
| |
| X |
X component.
| |
| Y |
Y component.
| |
| Z |
Z component.
| |
| Zero |
All vector components are 0.
|
| Name | Description | |
|---|---|---|
| ToVector2F |
Returns the 2D representation of this 3D vector (i.e. x and y coordinates).
(Defined by VectorExtensions.) | |
| ToVector3 |
Converts the specified framework vector to an Unity vector.
(Defined by MathConversionExtensions.) |