• R/O
  • SSH
  • HTTPS

mmdx: Commit


Commit MetaInfo

Revision39 (tree)
Zeit2010-03-07 17:03:12
Autorwilfrem

Log Message

一応、MMDXNAから読み込むルーチン作った。イランとは思うが

Ändern Zusammenfassung

Diff

--- trunk/MikuMikuDanceXNA/MikuMikuDanceXNA.cs (revision 38)
+++ trunk/MikuMikuDanceXNA/MikuMikuDanceXNA.cs (revision 39)
@@ -136,6 +136,15 @@
136136 Microsoft.Xna.Framework.Graphics.Model model = Content.Load<Microsoft.Xna.Framework.Graphics.Model>(assetName);
137137 return new MMDAccessory(model, this, game, defaultTransform);
138138 }
139+ /// <summary>
140+ /// VACをアセットから読み込む
141+ /// </summary>
142+ /// <param name="assetName">VACのアセット名</param>
143+ /// <returns>VACデータ</returns>
144+ public MMD_VAC LoadVAC(string assetName)
145+ {
146+ return Content.Load<MMD_VAC>(assetName);
147+ }
139148
140149 /// <summary>
141150 /// 登録済み物理エンジンのアップデート
Show on old repository browser