UnsafeNativeMethods.Vector3.Dot Method

Language:

Determines the dot product of two 3-D vectors.

Note: For programming in Microsoft Visual Basic .NET or Microsoft JScript .NET, use the equivalent method in the Microsoft.DirectX structures.

Definition

Visual Basic Public Shared Function Dot( _
    ByVal pLeft As Vector3, _
    ByVal pRight As Vector3 _
) As Single
C# public static float Dot(
    Vector3 pLeft,
    Vector3 pRight
);
C++ public:
static float Dot(
    Vector3 pLeft,
    Vector3 pRight
);
JScript public static function Dot(
    pLeft : Vector3,
    pRight : Vector3
) : float;

Parameters

pLeft Microsoft.DirectX.Vector3
Source Vector3 structure.
pRight Microsoft.DirectX.Vector3
Source Vector3 structure.

Return Value

System.Single
A Single Leave Site value that is the dot product.

See Also


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