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