Share via


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

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

See Also