Vector2(Double, Double) Constructor |
Initializes a new instance of the
Vector2 struct.
Namespace: Microsoft.DirectXAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.00.00
Syntaxpublic Vector2(
double x,
double y
)
Parameters
- x Double
- Initial value for the X component of the Vector2.
- y Double
- Initial value for the Y component of the Vector2.
See Also