Click or drag to resize

Vector2 Constructor (Double, Double)

Initializes a new instance of the Vector2 struct.

Namespace:  Microsoft.DirectX
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public Vector2(
	double x,
	double y
)

Parameters

x
Type: SystemDouble
Initial value for the X component of the Vector2.
y
Type: SystemDouble
Initial value for the Y component of the Vector2.
See Also