CurveRange Class
The curve range of target value.
Index
Properties
modeModeCurve type.curveAnimationCurveThe curve to use when mode is Curve.curveMinAnimationCurveThe lower limit of the curve to use when mode is TwoCurvescurveMaxAnimationCurveThe upper limit of the curve to use when mode is TwoCurvesconstantNumberWhen mode is Constant, the value of the curve.constantMinNumberThe lower limit of the curve to use when mode is TwoConstantsconstantMaxNumberThe upper limit of the curve to use when mode is TwoConstantsmultiplierNumberCoefficients applied to curve interpolation.
Details
Properties
mode
Curve type.
| meta | description |
|---|---|
| Type | Mode |
| Defined in | cocos2d/core/3d/particle/animator/curve-range.ts:32 |
curve
The curve to use when mode is Curve.
| meta | description |
|---|---|
| Type | AnimationCurve |
| Defined in | cocos2d/core/3d/particle/animator/curve-range.ts:42 |
curveMin
The lower limit of the curve to use when mode is TwoCurves
| meta | description |
|---|---|
| Type | AnimationCurve |
| Defined in | cocos2d/core/3d/particle/animator/curve-range.ts:52 |
curveMax
The upper limit of the curve to use when mode is TwoCurves
| meta | description |
|---|---|
| Type | AnimationCurve |
| Defined in | cocos2d/core/3d/particle/animator/curve-range.ts:62 |
constant
When mode is Constant, the value of the curve.
| meta | description |
|---|---|
| Type | Number |
| Defined in | cocos2d/core/3d/particle/animator/curve-range.ts:72 |
constantMin
The lower limit of the curve to use when mode is TwoConstants
| meta | description |
|---|---|
| Type | Number |
| Defined in | cocos2d/core/3d/particle/animator/curve-range.ts:80 |
constantMax
The upper limit of the curve to use when mode is TwoConstants
| meta | description |
|---|---|
| Type | Number |
| Defined in | cocos2d/core/3d/particle/animator/curve-range.ts:89 |
multiplier
Coefficients applied to curve interpolation.
| meta | description |
|---|---|
| Type | Number |
| Defined in | cocos2d/core/3d/particle/animator/curve-range.ts:97 |