Vector3 Class Members
The following tables list the members exposed by Vector3.
Public Constructors
| Name | Description | |
|---|---|---|
![]() | Vector3 Constructor | Overloaded. |
Public Properties
| Name | Description | |
|---|---|---|
![]() | Length | Computes the length of the vector |
![]() | LengthSquared | Computes the length squared of the vector |
![]() | X | access x value as X |
![]() | Y | access y value as Y |
![]() | Z | access z value as Z |
![]() ![]() | Zero | Gets a Zero Vector |
Public Methods
| Name | Description | |
|---|---|---|
![]() ![]() | Distance | Gets the distance as a scalar between two vectors |
![]() ![]() | DotProduct | Vector dot product. |
![]() | Equals | Overloaded. Implements the Equality operator |
![]() | GetHashCode | Serves as the default hash function. |
![]() ![]() | Lerp | Linear interpolation between two vectors given a factor from 0.0 (equals from) to 1.0 (equals to) |
![]() | ToString | Returns a string that represents the current object. |
Extension Methods
| Name | Description | |
|---|---|---|
![]() | DebugFinalizer<T> | Notifies that finalizer has been invoked |
![]() | SafeDispose | Checks for null and if not null, calls Dispose |
![]() | ToDoubleArray | Overloaded. Converts an System.IComparable array to double array |
![]() | ToEnumerable<T> | Yields a single item, converting it to System.Collections.IEnumerable. |
![]() | ToStringArray2D<T> |
Public Operators
Addition | Overloaded. Implements the + operator, which adds one vector to another |
Equality | Implements the == equality operator |
Exclusive Or | Implements the ^ cross product operator |
Inequality | Implements the != negative equality operator |
Multiplication | Overloaded. Implements the * operator, which multiplies a vector by a scalar |
Subtraction | Implements the - operator, which subtracts one vector from another |
See Also




