开发者

XNA 2d drawing library

开发者 https://www.devze.com 2023-01-27 00:38 出处:网络
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 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

精彩评论

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

关注公众号