The Vector3 type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Vector3 | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Abs |
Calculate absolute values of the vector.
| |
| Add | Overloaded. | |
| Cross |
Calculates cross product of two vectors.
| |
| Divide | Overloaded. | |
| Dot |
Calculates dot product of two vectors.
| |
| Equals | Overloaded. | |
| GetHashCode |
Returns the hashcode for this instance.
(Overrides ValueType..::.GetHashCode()()().) | |
| Inverse |
Inverse the vector.
| |
| Multiply | Overloaded. | |
| Normalize |
Normalizes the vector by dividing it’s all coordinates with the vector's norm.
| |
| Subtract | Overloaded. | |
| ToArray |
Returns array representation of the vector.
| |
| ToString |
Returns a string representation of this object.
(Overrides ValueType..::.ToString()()().) | |
| ToVector4 |
Converts the vector to a 4D vector.
|
Operators
| Name | Description | |
|---|---|---|
| Addition | Overloaded. | |
| Division | Overloaded. | |
| Equality |
Tests whether two specified vectors are equal.
| |
| Inequality |
Tests whether two specified vectors are not equal.
| |
| Multiply | Overloaded. | |
| Subtraction | Overloaded. |
Fields
| Name | Description | |
|---|---|---|
| X |
X coordinate of the vector.
| |
| Y |
Y coordinate of the vector.
| |
| Z |
Z coordinate of the vector.
|
Properties
| Name | Description | |
|---|---|---|
| Max |
Returns maximum value of the vector.
| |
| MaxIndex |
Returns index of the coordinate with maximum value.
| |
| Min |
Returns minimum value of the vector.
| |
| MinIndex |
Returns index of the coordinate with minimum value.
| |
| Norm |
Returns vector's norm.
| |
| Square |
Returns square of the vector's norm.
|