Vector4.Dot Method (Vector4%, Vector4%, Single%)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Calculates the dot product of two vectors.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)
Syntax
'Declaration
Public Shared Sub Dot ( _
ByRef vector1 As Vector4, _
ByRef vector2 As Vector4, _
<OutAttribute> ByRef result As Single _
)
public static void Dot(
ref Vector4 vector1,
ref Vector4 vector2,
out float result
)
Parameters
- vector1
Type: Microsoft.Xna.Framework.Vector4%
Source vector.
- vector2
Type: Microsoft.Xna.Framework.Vector4%
Source vector.
- result
Type: System.Single%
[OutAttribute] The dot product of the two vectors.
Version Information
Silverlight
Supported in: 5
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.