Vector4 Members
Include Protected Members
Include Inherited Members
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Describes and manipulates a vector in four-dimensional (4-D) space.
The Vector4 type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Vector4 | Initializes a new instance of the Vector4 structure. |
Top
Methods
Name | Description | |
---|---|---|
Add | Overloaded. Adds two 4-D vectors. | |
Cross | Determines the cross product in four dimensions. | |
Dot | Determines the dot product of two 4-D vectors. | |
Equals | Returns a value that indicates whether the current instance is equal to a specified object. (Overrides ValueType.Equals(Object).) | |
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.) | |
GetHashCode | Returns the hash code for the current instance. (Overrides ValueType.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Length | Overloaded. Returns the length of a 4-D vector. | |
LengthSq | Overloaded. Returns the square of the length of a 4-D vector. | |
Lerp | Performs a linear interpolation between two 4-D vectors. | |
Maximize | Overloaded. Returns a 4-D vector that is made up of the largest components of two 4-D vectors. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Minimize | Overloaded. Returns a 4-D vector that is made up of the smallest components of two 4-D vectors. | |
Multiply | Multiplies a 4-D vector. | |
Normalize | Overloaded. Creates a normalized version of a 4-D vector. | |
Scale | Overloaded. Scales a 4-D vector. | |
Subtract | Overloaded. Subtracts two 4-D vectors. | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
Transform | Overloaded. Transforms a 4-D vector or array of 4-D vectors using a given matrix. |
Top
Operators
Name | Description | |
---|---|---|
Addition | Adds two 4-D vectors. | |
Equality | Compares two 4-D vectors to determine whether they are the same. | |
Inequality | Compares two 4-D vectors to determine whether they are different. | |
Multiply | Overloaded. Determines the product of a - number and a 4-D vector. | |
Subtraction | Subtracts a 4-D vector from another 4-D vector. | |
UnaryNegation | Returns a 4-D vector that is the negation the specified 4-D vector. |
Top
Fields
Name | Description | |
---|---|---|
W | Represents the w component of the 4-D vector. | |
X | Represents the x component of the 4-D vector. | |
Y | Represents the y component of the 4-D vector. | |
Z | Represents the z component of the 4-D vector. |
Top
Properties
Name | Description | |
---|---|---|
Empty | Retrieves an empty 4-D vector. |
Top