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