GraySpriteState Class

Defined in: https://github.com/cocos-creator/engine/blob/2fda22be5638065a190bc4c97da6548631319aba/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 ""