public Texture_Control(ModelTexture.Texture texture)
 {
     InitializeComponent();
     textureControlVM = new Texture_VM(texture);
     DataContext      = textureControlVM;
 }
Beispiel #2
0
 public KingdomTexture(ModelTexture.Texture texture, GraphicsDevice graphics)
 {
     ModelTexture = texture;
     Texture2D    = texture.CreateTexture(graphics);
 }
Beispiel #3
0
 public Texture_VM(ModelTexture.Texture texture)
 {
     this.texture = texture;
     bitmapImage  = texture.GetBimapSource();
 }