UnsafeNativeMethods.Vector3.Dot(Vector3,Vector3) Method (Microsoft.DirectX)

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 SingleLeave Site value that is the dot product.

See Also