Uniform2D class