VelocityOvertimeModule Class
The velocity module of 3d particle.
Index
Properties
enableBooleanThe enable of VelocityOvertimeModule.spaceSpaceCoordinate system used in speed calculation.xCurveRangeVelocity component in X axis directionyCurveRangeVelocity component in Y axis directionzCurveRangeVelocity component in Z axis directionspeedModifierCurveRangeSpeed correction factor (only supports CPU particles).
Details
Properties
enable
The enable of VelocityOvertimeModule.
| meta | description |
|---|---|
| Type | Boolean |
| Defined in | cocos2d/core/3d/particle/animator/velocity-overtime.ts:23 |
space
Coordinate system used in speed calculation.
| meta | description |
|---|---|
| Type | Space |
| Defined in | cocos2d/core/3d/particle/animator/velocity-overtime.ts:31 |
x
Velocity component in X axis direction
| meta | description |
|---|---|
| Type | CurveRange |
| Defined in | cocos2d/core/3d/particle/animator/velocity-overtime.ts:41 |
y
Velocity component in Y axis direction
| meta | description |
|---|---|
| Type | CurveRange |
| Defined in | cocos2d/core/3d/particle/animator/velocity-overtime.ts:52 |
z
Velocity component in Z axis direction
| meta | description |
|---|---|
| Type | CurveRange |
| Defined in | cocos2d/core/3d/particle/animator/velocity-overtime.ts:63 |
speedModifier
Speed correction factor (only supports CPU particles).
| meta | description |
|---|---|
| Type | CurveRange |
| Defined in | cocos2d/core/3d/particle/animator/velocity-overtime.ts:74 |