Vector3 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 three-dimensional (3-D) space.

The Vector3 type exposes the following members.

Constructors

  Name Description
Public methodSupported by the .NET Compact Framework Vector3 Initializes a new instance of the Vector3 structure.

Top

Methods

  Name Description
Public methodStatic memberSupported by the .NET Compact Framework Add Overloaded. Adds two 3-D vectors.
Public methodStatic memberSupported by the .NET Compact Framework Cross Determines the cross product of the two specified 3-D vectors.
Public methodStatic memberSupported by the .NET Compact Framework Dot Determines the dot product of the two specified 3-D vectors.
Public methodSupported by the .NET Compact Framework Equals Returns a value that indicates whether the current instance is equal to a specified object. (Overrides ValueType.Equals(Object).)
Protected methodSupported 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.)
Public methodSupported by the .NET Compact Framework GetHashCode Returns the hash code for the current instance. (Overrides ValueType.GetHashCode().)
Public methodSupported by the .NET Compact Framework GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberSupported by the .NET Compact Framework Length Overloaded. Returns the length of a 3-D vector.
Public methodStatic memberSupported by the .NET Compact Framework LengthSq Overloaded. Returns the square of the length of a 3-D vector.
Public methodStatic memberSupported by the .NET Compact Framework Lerp Performs a linear interpolation between two 3-D vectors.
Public methodStatic memberSupported by the .NET Compact Framework Maximize Overloaded. Creates a 3-D vector that is made up of the largest components of two 3-D vectors.
Protected methodSupported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberSupported by the .NET Compact Framework Minimize Overloaded. Creates a 3-D vector that is made up of the smallest components of two 3-D vectors.
Public methodSupported by the .NET Compact Framework Multiply Multiplies a 3-D vector.
Public methodStatic memberSupported by the .NET Compact Framework Normalize Overloaded. Creates a normalized version of a 3-D vector.
Public methodStatic memberSupported by the .NET Compact Framework Project Overloaded. Projects a vector from object space into screen space.
Public methodStatic memberSupported by the .NET Compact Framework Scale Overloaded. Scales a 3-D vector.
Public methodStatic memberSupported by the .NET Compact Framework Subtract Overloaded. Subtracts two 3-D vectors.
Public methodSupported by the .NET Compact Framework ToString Returns a String that represents the current Object. (Inherited from Object.)
Public methodStatic memberSupported by the .NET Compact Framework Transform Overloaded. Transforms a specified 3-D vector or array of 3-D vectors using a given matrix.
Public methodStatic memberSupported by the .NET Compact Framework 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.
Public methodStatic memberSupported by the .NET Compact Framework TransformNormal Overloaded. Transforms a 3-D vector normal using the specified matrix.
Public methodStatic memberSupported by the .NET Compact Framework Unproject Overloaded. Projects a vector from screen space into object space.

Top

Operators

  Name Description
Public operatorStatic memberSupported by the .NET Compact Framework Addition Adds two 3-D vectors.
Public operatorStatic memberSupported by the .NET Compact Framework Equality Compares two 3-D vectors to determine whether they are the same.
Public operatorStatic memberSupported by the .NET Compact Framework Inequality Compares two 3-D vectors to determine whether they are different.
Public operatorStatic memberSupported by the .NET Compact Framework Multiply Overloaded. Determines the product of a number and a 3-D vector.
Public operatorStatic memberSupported by the .NET Compact Framework Subtraction Subtracts a 3-D vector from another 3-D vector.
Public operatorStatic memberSupported by the .NET Compact Framework UnaryNegation Returns a 3-D vector that is the negation of the specified 3-D vector.

Top

Fields

  Name Description
Public fieldSupported by the .NET Compact Framework X Represents the x component of the 3-D vector.
Public fieldSupported by the .NET Compact Framework Y Represents the y component of the 3-D vector.
Public fieldSupported by the .NET Compact Framework Z Represents the z component of the 3-D vector.

Top

Properties

  Name Description
Public propertyStatic memberSupported by the .NET Compact Framework Empty Retrieves an empty 3-D vector.

Top

See Also

Reference

Vector3 Structure

Microsoft.WindowsMobile.DirectX Namespace