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

Vector4 Constructor

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