Vector2.Dot(Vector2, Vector2) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the dot product of two vectors.
public:
static float Dot(System::Numerics::Vector2 value1, System::Numerics::Vector2 value2);
C#
public static float Dot(System.Numerics.Vector2 value1, System.Numerics.Vector2 value2);
static member Dot : System.Numerics.Vector2 * System.Numerics.Vector2 -> single
Public Shared Function Dot (value1 As Vector2, value2 As Vector2) As Single
- value1
- Vector2
The first vector.
- value2
- Vector2
The second vector.
The dot product.
Termék | Verziók |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided), 2.1 |
UWP | 10.0 |
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
.NET-visszajelzés
A(z) .NET egy nyílt forráskód projekt. Visszajelzés adásához válasszon egy hivatkozást: