Vector3 Methods |
The Vector3 type exposes the following members.
Name | Description | |
---|---|---|
Abs |
Calculate absolute values of the vector.
| |
Add(Vector3, Vector3) |
Adds corresponding coordinates of two vectors.
| |
Add(Vector3, Single) |
Adds a value to all coordinates of the specified vector.
| |
Cross |
Calculates cross product of two vectors.
| |
Divide(Vector3, Vector3) |
Divides corresponding coordinates of two vectors.
| |
Divide(Vector3, Single) |
Divides coordinates of the specified vector by the specified factor.
| |
Dot |
Calculates dot product of two vectors.
| |
Equals(Object) |
Tests whether the vector equals to the specified object.
(Overrides ValueTypeEquals(Object).) | |
Equals(Vector3) |
Tests whether the vector equals to the specified one.
| |
GetHashCode |
Returns the hashcode for this instance.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Inverse |
Inverse the vector.
| |
Multiply(Vector3, Vector3) |
Multiplies corresponding coordinates of two vectors.
| |
Multiply(Vector3, Single) |
Multiplies coordinates of the specified vector by the specified factor.
| |
Normalize |
Normalizes the vector by dividing it’s all coordinates with the vector's norm.
| |
Subtract(Vector3, Vector3) |
Subtracts corresponding coordinates of two vectors.
| |
Subtract(Vector3, Single) |
Subtracts a value from all coordinates of the specified vector.
| |
ToArray |
Returns array representation of the vector.
| |
ToString |
Returns a string representation of this object.
(Overrides ValueTypeToString.) | |
ToVector4 |
Converts the vector to a 4D vector.
|
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |
ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |