Windows apps
Collapse the table of content
Expand the table of content

Vector2::Dot Method

Returns the dot product of two vectors.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static float Dot(
	Vector2 value1, 
	Vector2 value2
)

Parameters

value1
Type: System.Numerics::Vector2

The first vector.

value2
Type: System.Numerics::Vector2

The second vector.

Return Value

Type: System::Single
The dot product.
Show:
© 2017 Microsoft