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

Vector2 Constructor

Creates a new Vector2 object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Vector2(Single) Creates a new Vector2 object whose two elements have the same value.
Public method Vector2(Single, Single) Creates a vector whose elements have the specified values.
Top
Show:
© 2017 Microsoft