UnsafeNativeMethods.Vector3 Class

Language:

Describes and manipulates a vector in three-dimensional (3-D) space.

Note: For programming in Microsoft Visual Basic .NET or Microsoft JScript .NET, use the methods of the Microsoft.DirectX.Vector3 structure.

Definition

Visual Basic NotInheritable MustInherit Public Class Vector3
    Inherits Object
C# public abstract sealed class Vector3 : Object
C++ public ref class Vector3 abstract sealed : Object
JScript public final abstract class Vector3 extends Object

Members Table

Method Description
static (Shared in Visual Basic) Add Adds two 3-D vectors.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) BaryCentric Returns a point in barycentric coordinates, using specified 3-D vectors.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) CatmullRom Performs a Catmull-Rom interpolation using specified 3-D vectors.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) Cross Determines the cross product of two 3-D vectors.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) Dot Determines the dot product of two 3-D vectors.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) Hermite Performs a Hermite spline interpolation using the specified 3-D vectors.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) Length Returns the length of a 3-D vector.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) LengthSq Returns the square of the length of a 3-D vector.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) Lerp Performs a linear interpolation between two 3-D vectors.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) Maximize Returns a 3-D vector that is made up of the largest components of two 3-D vectors.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) Minimize Returns a 3-D vector that is made up of the smallest components of two 3-D vectors.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) Normalize Returns the normalized version of a 3-D vector.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) Scale Scales a 3-D vector.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) Subtract Subtracts two 3-D vectors.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) Transform Transforms a 3-D vector or an array of 3-D vectors by a given matrix.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) TransformArray Transforms an array of 3-D vectors by a given matrix.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) TransformCoordinate Transforms a 3-D vector by a given matrix, projecting the result back into w = 1.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) TransformCoordinateArray Transforms array (x, y, z, 1) by a given matrix, and projects the result back into w = 1.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) TransformNormal Transforms a 3-D vector normal by the given matrix.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
static (Shared in Visual Basic) TransformNormalArray Transforms array (x, y, z, 0) by a given matrix.
Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures.

Inheritance Hierarchy

Object Leave Site
UnsafeNativeMethods.Vector3

Class Information

Namespace Microsoft.DirectX
Assembly Microsoft.DirectX (microsoft.directx.dll)
Strong Name Microsoft.DirectX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center