Sprite.State
Enum
Module: cc
Sprite state can choice the normal or grayscale.
Index
NORMAL
GRAY
Details
NORMAL
The normal state
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCSprite.js:134 |
GRAY
The gray state, all color will be modified to grayscale value.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCSprite.js:140 |