System.InvalidCastException: 指定されたキャストは有効ではありません。 場所 Microsoft.Xna.Framework.Graphics.EffectParameter.SetValue(Matrix[] value) 場所 SOFTIMAGE_XNAViewer.Game1.DrawModel(Model m) 場所 C:\Documents and Settings\username\My Documents\Visual Studio 2008\Projects\XNAViewerTest1\SOFTIMAGE_XNAViewer\Game1.cs:行 596 場所 SOFTIMAGE_XNAViewer.Game1.Draw(GameTime gameTime) 場所 C:\Documents and Settings\username\My Documents\Visual Studio 2008\Projects\XNAViewerTest1\SOFTIMAGE_XNAViewer\Game1.cs:行 637 場所 Microsoft.Xna.Framework.Game.DrawFrame() 場所 Microsoft.Xna.Framework.Game.Tick() 場所 Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e) 場所 Microsoft.Xna.Framework.GameHost.OnIdle() 場所 Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e) 場所 System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef) 場所 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) 場所 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) 場所 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) 場所 System.Windows.Forms.Application.Run(Form mainForm) 場所 Microsoft.Xna.Framework.WindowsGameHost.Run() 場所 Microsoft.Xna.Framework.Game.Run() 場所 SOFTIMAGE_XNAViewer.Program.Main(String[] args) 場所 C:\Documents and Settings\username\My Documents\Visual Studio 2008\Projects\XNAViewerTest1\SOFTIMAGE_XNAViewer\Program.cs:行 16