CurveRange 类型
目标值的曲线范围
索引
属性(properties)
modeMode曲线类型。curveAnimationCurve当 mode 为 Curve 时,使用的曲线。curveMinAnimationCurve当 mode 为 TwoCurves 时,使用的曲线下限。curveMaxAnimationCurve当 mode 为 TwoCurves 时,使用的曲线上限。constantNumber当 mode 为 Constant 时,曲线的值。constantMinNumber当 mode 为 TwoConstants 时,曲线的下限。constantMaxNumber当 mode 为 TwoConstants 时,曲线的上限。multiplierNumber应用于曲线插值的系数。
Details
属性(properties)
mode
曲线类型。
| meta | description |
|---|---|
| 类型 | Mode |
| 定义于 | cocos2d/core/3d/particle/animator/curve-range.ts:32 |
curve
当 mode 为 Curve 时,使用的曲线。
| meta | description |
|---|---|
| 类型 | AnimationCurve |
| 定义于 | cocos2d/core/3d/particle/animator/curve-range.ts:42 |
curveMin
当 mode 为 TwoCurves 时,使用的曲线下限。
| meta | description |
|---|---|
| 类型 | AnimationCurve |
| 定义于 | cocos2d/core/3d/particle/animator/curve-range.ts:52 |
curveMax
当 mode 为 TwoCurves 时,使用的曲线上限。
| meta | description |
|---|---|
| 类型 | AnimationCurve |
| 定义于 | cocos2d/core/3d/particle/animator/curve-range.ts:62 |
constant
当 mode 为 Constant 时,曲线的值。
| meta | description |
|---|---|
| 类型 | Number |
| 定义于 | cocos2d/core/3d/particle/animator/curve-range.ts:72 |
constantMin
当 mode 为 TwoConstants 时,曲线的下限。
| meta | description |
|---|---|
| 类型 | Number |
| 定义于 | cocos2d/core/3d/particle/animator/curve-range.ts:80 |
constantMax
当 mode 为 TwoConstants 时,曲线的上限。
| meta | description |
|---|---|
| 类型 | Number |
| 定义于 | cocos2d/core/3d/particle/animator/curve-range.ts:89 |
multiplier
应用于曲线插值的系数。
| meta | description |
|---|---|
| 类型 | Number |
| 定义于 | cocos2d/core/3d/particle/animator/curve-range.ts:97 |