Vector3.Dot Method

Language:

Determines the dot product of two 3-D vectors.

Definition

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

Parameters

left Microsoft.DirectX.Vector3
Source Vector3 structure.
right 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