GraySpriteState Class
An internal helper class for switching render component's material between normal sprite material and gray sprite material.
Index
Properties
normalMaterialMaterialThe normal material.grayMaterialMaterialThe gray material.
Details
Properties
normalMaterial
The normal material.
| meta | description |
|---|---|
| Type | Material |
| Defined in | cocos2d/core/utils/gray-sprite-state.js:16 |
grayMaterial
The gray material.
| meta | description |
|---|---|
| Type | Material |
| Defined in | cocos2d/core/utils/gray-sprite-state.js:38 |