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.
如何将粒子发射器设置为生成形状(实体形状/核心图形?),而不是纹理图像(png)?
在Manipulating the Particle Emitter文档中,看起来只能设置纹理图像。
只能SKTexture使用 a ,但这并不能阻止您使用SKShapeNode来创建形状,然后SKTexture通过SKView方法创建该形状的 a textureFromNode:。
SKTexture
SKShapeNode
SKView
textureFromNode: