Make edges of SKSpriteNode look smooth after rotation

百般思念 提交于 2019-12-22 10:40:04

问题


I create a SKSpriteNode like that:

var shape:SKSpriteNode = SKSpriteNode(color: UIColor.redColor(), size: CGSizeMake(CGFloat(sizeOfShape), CGFloat(sizeOfShape)))

How can I achieve, that a SKSpriteNode has still smooth edges, after I've rotated it.

Currently, it looks like that:

As you see, the edges are jagged.

来源:https://stackoverflow.com/questions/25532760/make-edges-of-skspritenode-look-smooth-after-rotation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!