Name | Description | |
---|---|---|
Vector3 Constructor | Overloaded. |
The following tables list the members exposed by Vector3.
Name | Description | |
---|---|---|
Vector3 Constructor | Overloaded. |
Name | Description | |
---|---|---|
One | A Vector3 with all of its components set to one. | |
SizeInBytes | The size of the Vector3 type, in bytes. | |
UnitX | The X unit Vector3 (1, 0, 0). | |
UnitY | The Y unit Vector3 (0, 1, 0). | |
UnitZ | The Z unit Vector3 (0, 0, 1). | |
X | The X component of the vector. | |
Y | The Y component of the vector. | |
Z | The Z component of the vector. | |
Zero | A Vector3 with all of its components set to zero. |
Name | Description | |
---|---|---|
IsNormalized | Gets a value indicting whether this instance is normalized. | |
Item | Gets or sets the component at the specified index. | |
Length | Gets the length of the vector. | |
LengthSquared | Gets the squared length of the vector. |
Name | Description | |
---|---|---|
Abs | Returns a vector whose elements are the absolute values of each of the specified vector's elements. | |
AbsRef | Calculates the absolute value vector. | |
Add | Adds two vectors. | |
Clamp | Restricts a vector between a minimum and a maximum value. | |
Cross | Computes the cross product of two vectors. | |
Divide | Overloaded. Divides the specified vector by a specified scalar value. | |
Dot | Calculates the dot product of two vectors. | |
Equals | Overloaded. Determines whether the specified Vector3 is equal to this instance. | |
GetHashCode | Returns a hash code for this instance. | |
Lerp | Performs a linear interpolation between two vectors based on the given weighting. | |
Max | Returns a vector containing the largest components of the specified vectors. | |
Min | Returns a vector containing the smallest components of the specified vectors. | |
Multiply | Overloaded. Scales a vector by the given value. | |
Negate | Reverses the direction of a given vector. | |
NegateRef | Reverses the direction of the vector. | |
Normalize | Converts the vector into a unit vector. | |
NormalizeRef | Converts the vector into a unit vector. | |
Subtract | Subtracts two vectors. | |
ToArray | Creates an array containing the elements of the vector. | |
ToString | Overloaded. Returns a System.String that represents this instance. |
Addition | Adds two vectors. |
Division | Overloaded. Divides the specified vector by a specified scalar value. |
Equality | Tests for equality between two objects. |
Explicit Type Conversion | Overloaded. Performs an explicit conversion from Vector3 to Vector2. |
Inequality | Tests for inequality between two objects. |
Multiplication | Overloaded. Scales a vector by the given value. |
Subtraction | Subtracts two vectors. |
Unary Negation | Reverses the direction of a given vector. |