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

Vector3::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(
	Vector3 vector1, 
	Vector3 vector2
)

Parameters

vector1
Type: System.Numerics::Vector3

The first vector.

vector2
Type: System.Numerics::Vector3

The second vector.

Return Value

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