public Byte4(ColorRGBA color) { R = (byte)color.R; G = (byte)color.G; B = (byte)color.B; A = (byte)color.A; }
public VertexPositionColor(float x, float y, float z, ColorRGBA color) { Position = new Vector3(x, y, z); Color = new Byte4(color); }
public void setColor(ColorRGBA color) { this.color = color; }