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