Vector4
Creates a new vector with given x, y, z, w components.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
Vector4(float, float, float, float)
Creates a new vector with given x, y, z, w components.
public Vector4(float x, float y, float z, float w)
Parameters
Vector4(float, float, float)
Creates a new vector with given x, y, z components and sets to zero.
wpublic Vector4(float x, float y, float z)
Parameters
Vector4(float, float)
Creates a new vector with given x, y components and sets and to zero.
zwpublic Vector4(float x, float y)