开发者

xna how to use a bitmap from photoChooser?

hi i got a bitmapImage from the optionMenuScreen and want to use it in the Ga开发者_StackOverflowmePlayScreen. do i have to convert it to texture2d? how? example please... in what class? how can i change the bitmap size or change it after its a texture? thanks


As PhotoResult.ChosenPhoto is a stream, I'd try using Texture2D.FromStream (msdn)

System.Drawing is not supported on the phone.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜