UnityEngine.Vector4.Vector4 C# (CSharp) Method

Vector4() public method

public Vector4 ( float x, float y )
x float
y float
        public Vector4(float x, float y)
        {
            this.x = x;
            this.y = y;
            z = 0f;
            w = 0f;
        }

Same methods

Vector4::Vector4 ( float x, float y, float z )
Vector4::Vector4 ( float x, float y, float z, float w )