开发者

XNA 2d drawing library

Is there any free XNA 2d drawing 开发者_运维技巧library?

I would like support for common drawing operation and effects.


There isn't one that I know of(and I spent a good while looking). Your best bet is just to use 3d primitive-drawing (as described here). Or, if you want to draw lines, you could just take a 1x1 pixel sprite and expand the source-rectangle as needed.


There is a PrimitiveBatch class in the Nuclex Framework: http://nuclexframework.codeplex.com/.

It's in the namespace Nuclex.Graphics.Batching.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜