Partilhar via


Vector4.Dot Method (Vector4, Vector4, Single)

Calculates the dot product of two vectors.

Syntax

'Declaration
Public Shared Sub Dot ( _
         ref vector1 As Vector4, _
         ref vector2 As Vector4, _
         out result As Single _
)
public static void Dot (
         ref Vector4 vector1,
         ref Vector4 vector2,
         out float result
)
public:
static void Dot(
         ref Vector4 vector1,
         ref Vector4 vector2,
         out float result
)

Parameters

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Vector4 Structure
Vector4 Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone