UnsafeNativeMethods.Vector4 Class
|
Language: |
Note: This documentation is preliminary and is subject to change.
Describes and manipulates a vector in four-dimensional (4-D) space.
Note: For programming in Microsoft® Visual Basic® .NET or Microsoft® JScript® .NET, use the methods of the
Microsoft.DirectX.Vector4 structure.
Definition
Visual Basic .NET |
NotInheritable Public Class Vector4 Inherits Object |
C# |
public sealed class Vector4 : Object |
Managed C++ |
public __gc __sealed class Vector4
: public Object |
JScript .NET |
public class Vector4 extends Object |
Members Table
The following table lists the members exposed by the object. Click a tab on the left to choose the type of member you want to view.
Methods
Method |
Description |
Add
|
Adds two 4-D vectors. Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures. |
BaryCentric
|
Returns a point in barycentric coordinates, using the specified 4-D vectors. Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures. |
CatmullRom
|
Performs a Catmull-Rom interpolation using specified 4-D vectors. Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures. |
Cross
|
Determines the cross product in four dimensions. Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures. |
Dot
|
Determines the dot product of two 4-D vectors. Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures. |
Hermite
|
Performs a Hermite spline interpolation using the specified 4-D vectors. Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures. |
Length
|
Returns the length of a 4-D vector. Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures. |
LengthSq
|
Returns the square of the length of a 4-D vector. Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures. |
Lerp
|
Performs a linear interpolation between two 4-D vectors. Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures. |
Maximize
|
Returns a 4-D vector that is made up of the largest components of two 4-D vectors. Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures. |
Minimize
|
Returns a 4-D vector that is made up of the smallest components of two 4-D vectors. Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures. |
Normalize
|
Returns the normalized version of a 4-D vector. Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures. |
Scale
|
Scales a 4-D vector. Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures. |
Subtract
|
Subtracts two 4-D vectors. Note: For programming in Visual Basic .NET or JScript .NET, use the equivalent method in the Microsoft.DirectX structures. |
Transform
|
Transforms a 4-D vector or an array of 4-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. |
TransformArray
|
Transforms a vector array 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 
UnsafeNativeMethods.Vector4
Class Information
Namespace |
Microsoft.DirectX |
Assembly |
Microsoft.DirectX (microsoft.directx.dll) |
Strong Name |
Microsoft.DirectX,
Version=1.0.2902.0,
Culture=neutral,
PublicKeyToken=31bf3856ad364e35 |
© 2004 Microsoft Corporation. All rights reserved. Terms of use.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center