GradientRange Class

Module: cc Parent Module: cc

The gradient range of color.

Index

Properties
  • mode Mode Gradient type.
  • color Color The color when mode is Color.
  • colorMin Color Lower color limit when mode is TwoColors.
  • colorMax Color Upper color limit when mode is TwoColors.
  • gradient Gradient Color gradient when mode is Gradient
  • gradientMin Gradient Lower color gradient limit when mode is TwoGradients.
  • gradientMax Gradient Upper color gradient limit when mode is TwoGradients.

Details

Properties

mode

Gradient type.

meta description
Type Mode
Defined in cocos2d/core/3d/particle/animator/gradient-range.ts:46
color

The color when mode is Color.

meta description
Type Color
Defined in cocos2d/core/3d/particle/animator/gradient-range.ts:74
colorMin

Lower color limit when mode is TwoColors.

meta description
Type Color
Defined in cocos2d/core/3d/particle/animator/gradient-range.ts:82
colorMax

Upper color limit when mode is TwoColors.

meta description
Type Color
Defined in cocos2d/core/3d/particle/animator/gradient-range.ts:90
gradient

Color gradient when mode is Gradient

meta description
Type Gradient
Defined in cocos2d/core/3d/particle/animator/gradient-range.ts:98
gradientMin

Lower color gradient limit when mode is TwoGradients.

meta description
Type Gradient
Defined in cocos2d/core/3d/particle/animator/gradient-range.ts:108
gradientMax

Upper color gradient limit when mode is TwoGradients.

meta description
Type Gradient
Defined in cocos2d/core/3d/particle/animator/gradient-range.ts:118

results matching ""

    No results matching ""