Vector4 Members

Describes and manipulates a vector in four-dimensional (4-D) space.

The following tables list the members exposed by the Vector4 type.

Public Constructors

  Name Description
Public method Supported by the .NET Compact Framework Vector4 Initializes a new instance of the Vector4 structure.

Top

Public Fields

  Name Description
Public field Supported by the .NET Compact Framework W Represents the w component of the 4-D vector.
Public field Supported by the .NET Compact Framework X Represents the x component of the 4-D vector.
Public field Supported by the .NET Compact Framework Y Represents the y component of the 4-D vector.
Public field Supported by the .NET Compact Framework Z Represents the z component of the 4-D vector.

Top

Public Properties

  Name Description
Public property Static Supported by the .NET Compact Framework Empty Retrieves an empty 4-D vector.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Supported by the .NET Compact Framework Add Overloaded. Adds two 4-D vectors.
Public method Static Supported by the .NET Compact Framework Cross Determines the cross product in four dimensions.
Public method Static Supported by the .NET Compact Framework Dot Determines the dot product of two 4-D vectors.
Public method Supported by the .NET Compact Framework Equals Overloaded. Overridden.  
Public method Supported by the .NET Compact Framework GetHashCode Overridden. Returns the hash code for the current instance.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Length Overloaded. Returns the length of a 4-D vector.
Public method Supported by the .NET Compact Framework LengthSq Overloaded. Returns the square of the length of a 4-D vector.
Public method Static Supported by the .NET Compact Framework Lerp Performs a linear interpolation between two 4-D vectors.
Public method Supported by the .NET Compact Framework Maximize Overloaded. Returns a 4-D vector that is made up of the largest components of two 4-D vectors.
Public method Supported by the .NET Compact Framework Minimize Overloaded. Returns a 4-D vector that is made up of the smallest components of two 4-D vectors.
Public method Supported by the .NET Compact Framework Multiply Multiplies a 4-D vector.
Public method Supported by the .NET Compact Framework Normalize Overloaded. Creates a normalized version of a 4-D vector.
Public method Static Supported by the .NET Compact Framework op_Addition Adds two 4-D vectors.
Public method Static Supported by the .NET Compact Framework op_Equality Compares two 4-D vectors to determine whether they are the same.
Public method Static Supported by the .NET Compact Framework op_Inequality Compares two 4-D vectors to determine whether they are different.
Public method Static Supported by the .NET Compact Framework op_Multiply Overloaded. Determines the product of a - number and a 4-D vector.
Public method Static Supported by the .NET Compact Framework op_Subtraction Subtracts a 4-D vector from another 4-D vector.
Public method Static Supported by the .NET Compact Framework op_UnaryNegation Returns a 4-D vector that is the negation the specified 4-D vector.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Scale Overloaded. Scales a 4-D vector.
Public method Supported by the .NET Compact Framework Subtract Overloaded. Subtracts two 4-D vectors.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Supported by the .NET Compact Framework Transform Overloaded. Transforms a 4-D vector or array of 4-D vectors using a given matrix.

Top

Protected Methods

  Name Description
Protected method Supported by the .NET Compact Framework 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)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Top

See Also

Reference

Vector4 Structure
Microsoft.WindowsMobile.DirectX Namespace

Other Resources

Direct3D Programming