GraySpriteState
Class
An internal helper class for switching render component's material between normal sprite material and gray sprite material.
Index
Properties
normalMaterial
Material
The normal material.grayMaterial
Material
The 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 |