重置 SKSpriteNode 的颜色 属性?

Reset color property of SKSpriteNode?

SKSpriteNode 的默认 color 值是多少?

Apple 文档中没有提及,将默认的 属性 与 nilUIColor.white returns false 进行比较,表明两者都不是。

目标是在 运行 一个 SKAction.colorize 动画之后将节点的颜色重置为默认值。

colorBlendFactor 设置为 0 会导致 color 属性 被忽略。

The value must be a number between 0.0 and 1.0, inclusive. The default value (0.0) indicates the color property is ignored and that the texture’s values should be used unmodified. For values greater than 0.0, the texture is blended with the color before being drawn to the scene.

这个选项解决了问题,但没有回答默认 color 值的问题。

希望其他人对问题给出明确的答案。