UnityEngine.UIVertex.UIVertex C# (CSharp) Method

UIVertex() static private method

static private UIVertex ( ) : System
return System
        static UIVertex()
        {
            s_DefaultColor = new Color32(0xff, 0xff, 0xff, 0xff);
            s_DefaultTangent = new Vector4(1f, 0f, 0f, -1f);
            UIVertex vertex = new UIVertex {
                position = Vector3.zero,
                normal = Vector3.back,
                tangent = s_DefaultTangent,
                color = s_DefaultColor,
                uv0 = Vector2.zero,
                uv1 = Vector2.zero
            };
            simpleVert = vertex;
        }
    }
UIVertex