Пример #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 };
		}