Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
XNA.Texture2DをPictureBoxにロードする必要があります。
私はこれを試しました:http ://www.gamedev.net/community/forums/viewreply.asp?ID = 3224621しかし、それは機能しません。助言がありますか?
その方法を使用できるはずですが、XNATexture2Dが32bbpARGBの形式で作成されていることを確認してください。他の形式では、そのメソッドが直接機能しなくなります。
Texture2D.SaveAsPngこれを行う簡単な方法は、またはを使用してTexture2DをTexture2D.SaveAsJpegメモリストリームに保存し、を使用して仮想ファイルを開くことですBitmap(Stream)。
Texture2D.SaveAsPng
Texture2D.SaveAsJpeg
Bitmap(Stream)