예제 #1
0
 public Material CreateMaterial(Shader shader)
 {
     return new Material(shader, null, SubImageSize) { SpriteSheet = this };
 }
예제 #2
0
 public Material CreateMaterial(Shader shader)
 {
     return new Material(shader, null, Frames[0].PixelSize) { Animation = this };
 }
예제 #3
0
		public Material CreateMaterial(Shader shader)
		{
			return new Material(shader, null) { Animation = this };
		}