Vector3 Members
Describes and manipulates a vector in three-dimensional (3-D) space.
The following tables list the members exposed by the Vector3 type.
Public Constructors
Name | Description | |
---|---|---|
Vector3 | Initializes a new instance of the Vector3 structure. |
Top
Public Fields
Name | Description | |
---|---|---|
X | Represents the x component of the 3-D vector. | |
Y | Represents the y component of the 3-D vector. | |
Z | Represents the z component of the 3-D vector. |
Top
Public Properties
Name | Description | |
---|---|---|
Empty | Retrieves an empty 3-D vector. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Add | Overloaded. Adds two 3-D vectors. | |
Cross | Determines the cross product of the two specified 3-D vectors. | |
Dot | Determines the dot product of the two specified 3-D vectors. | |
Equals | Overloaded. Overridden. | |
GetHashCode | Overridden. Returns the hash code for the current instance. | |
GetType | Gets the Type of the current instance. (inherited from Object) | |
Length | Overloaded. Returns the length of a 3-D vector. | |
LengthSq | Overloaded. Returns the square of the length of a 3-D vector. | |
Lerp | Performs a linear interpolation between two 3-D vectors. | |
Maximize | Overloaded. Creates a 3-D vector that is made up of the largest components of two 3-D vectors. | |
Minimize | Overloaded. Creates a 3-D vector that is made up of the smallest components of two 3-D vectors. | |
Multiply | Multiplies a 3-D vector. | |
Normalize | Overloaded. Creates a normalized version of a 3-D vector. | |
op_Addition | Adds two 3-D vectors. | |
op_Equality | Compares two 3-D vectors to determine whether they are the same. | |
op_Inequality | Compares two 3-D vectors to determine whether they are different. | |
op_Multiply | Overloaded. Determines the product of a number and a 3-D vector. | |
op_Subtraction | Subtracts a 3-D vector from another 3-D vector. | |
op_UnaryNegation | Returns a 3-D vector that is the negation of the specified 3-D vector. | |
Project | Overloaded. Projects a vector from object space into screen space. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) | |
Scale | Overloaded. Scales a 3-D vector. | |
Subtract | Overloaded. Subtracts two 3-D vectors. | |
ToString | Returns a String that represents the current Object. (inherited from Object) | |
Transform | Overloaded. Transforms a specified 3-D vector or array of 3-D vectors using a given matrix. | |
TransformCoordinate | Overloaded. Transforms a 3-D vector or an array of 3-D vectors using a given matrix, projecting the result back into w = 1. | |
TransformNormal | Overloaded. Transforms a 3-D vector normal using the specified matrix. | |
Unproject | Overloaded. Projects a vector from screen space into object space. |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Top
See Also
Reference
Vector3 Structure
Microsoft.WindowsMobile.DirectX Namespace