Share via


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

Determines the dot product of two 4-D vectors.

Definition

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

Parameters

left Microsoft.DirectX.Vector4
Source Vector4 structure.
right Microsoft.DirectX.Vector4
Source Vector4 structure.

Return Value

System.Single
A SingleLeave Site value that represents the dot product.

See Also