コード例 #1
0
 public void SetTexture(GuiTextureType guiType)
 {
     _model.Texture = _textureDictionary[guiType];
 }
コード例 #2
0
 public static Dictionary<string, Object> GetChangeTextureCommandArgs(GuiTextureType guiTextureType)
 {
     args = new Dictionary<string, Object>();
     args.Add("TextureName", GuiTextureTypeUtil.GetStringFromType(guiTextureType));
     return args;
 }
コード例 #3
0
 public void AddTexture(GuiTextureType guiType, string textureName)
 {
     _textureDictionary.Add(guiType, SingletonFactory.GetTextureManager().Get(textureName));
 }