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

Vector3 Constructor

Creates a new instance of the Vector3 structure.

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 Vector3(Single) Creates a new Vector3 object whose three elements have the same value.
Public method Vector3(Vector2, Single) Creates a new Vector3 object from the specified Vector2 object and the specified value.
Public method Vector3(Single, Single, Single) Creates a vector whose elements have the specified values.
Top
Show:
© 2017 Microsoft