CurveRange 类型
目标值的曲线范围
索引
属性(properties)
- mode- Mode曲线类型。
- curve- AnimationCurve当 mode 为 Curve 时,使用的曲线。
- curveMin- AnimationCurve当 mode 为 TwoCurves 时,使用的曲线下限。
- curveMax- AnimationCurve当 mode 为 TwoCurves 时,使用的曲线上限。
- constant- Number当 mode 为 Constant 时,曲线的值。
- constantMin- Number当 mode 为 TwoConstants 时,曲线的下限。
- constantMax- Number当 mode 为 TwoConstants 时,曲线的上限。
- multiplier- Number应用于曲线插值的系数。
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 | 
