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