public void setColor ( int corner , float r , float g , float b , float a ) { if ( corners == null ) { corners = new Color [ ] { new Color ( 1 , 1 , 1 , 1f ) , new Color ( 1 , 1 , 1 , 1f ) , new Color ( 1 , 1 , 1 , 1f ) , new Color ( 1 , 1 , 1 , 1f ) } ; } corners [ corner ] . r = r ; corners [ corner ] . g = g ; corners [ corner ] . b = b ; corners [ corner ] . a = a ; }
Set the color of the given corner when this image is rendered . This is useful lots of visual effect but especially light maps