GraySpriteState
类型
An internal helper class for switching render component's material between normal sprite material and gray sprite material.
索引
属性(properties)
normalMaterial
Material
正常状态的材质。grayMaterial
Material
置灰状态的材质。
Details
属性(properties)
normalMaterial
正常状态的材质。
meta | description |
---|---|
类型 | Material |
定义于 | cocos2d/core/utils/gray-sprite-state.js:16 |
grayMaterial
置灰状态的材质。
meta | description |
---|---|
类型 | Material |
定义于 | cocos2d/core/utils/gray-sprite-state.js:38 |