GraySpriteState Class

Defined in: https://github.com/cocos-creator/engine/blob/efe6330ab64803299d3b7fecde039ffed2d9e696/cocos2d/core/utils/gray-sprite-state.js:8

Module: cc Parent Module: cc

An internal helper class for switching render component's material between normal sprite material and gray sprite material.

Index

Properties

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

results matching ""

    No results matching ""