TrailModule
Class
The trail module of 3d particle.
Index
Properties
enable
Boolean
The enable of trailModule.mode
TrailMode
Sets how particles generate trajectories.lifeTime
CurveRange
Life cycle of trajectory.minParticleDistance
Number
Minimum spacing between each track particlespace
Space
The coordinate system of trajectories.existWithParticles
Boolean
Whether the particle itself exists.textureMode
TextureMode
Set the texture fill methodwidthFromParticle
Boolean
Whether to use particle widthwidthRatio
CurveRange
Curves that control track lengthcolorFromParticle
Boolean
Whether to use particle colorcolorOverTrail
GradientRange
The color of trajectories.colorOvertime
GradientRange
Trajectories color over time.
Details
Properties
enable
The enable of trailModule.
meta | description |
---|---|
Type | Boolean |
Defined in | cocos2d/core/3d/particle/renderer/trail.ts:137 |
mode
Sets how particles generate trajectories.
meta | description |
---|---|
Type | TrailMode |
Defined in | cocos2d/core/3d/particle/renderer/trail.ts:161 |
lifeTime
Life cycle of trajectory.
meta | description |
---|---|
Type | CurveRange |
Defined in | cocos2d/core/3d/particle/renderer/trail.ts:171 |
minParticleDistance
Minimum spacing between each track particle
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/3d/particle/renderer/trail.ts:184 |
space
The coordinate system of trajectories.
meta | description |
---|---|
Type | Space |
Defined in | cocos2d/core/3d/particle/renderer/trail.ts:202 |
existWithParticles
Whether the particle itself exists.
meta | description |
---|---|
Type | Boolean |
Defined in | cocos2d/core/3d/particle/renderer/trail.ts:221 |
textureMode
Set the texture fill method
meta | description |
---|---|
Type | TextureMode |
Defined in | cocos2d/core/3d/particle/renderer/trail.ts:229 |
widthFromParticle
Whether to use particle width
meta | description |
---|---|
Type | Boolean |
Defined in | cocos2d/core/3d/particle/renderer/trail.ts:239 |
widthRatio
Curves that control track length
meta | description |
---|---|
Type | CurveRange |
Defined in | cocos2d/core/3d/particle/renderer/trail.ts:248 |
colorFromParticle
Whether to use particle color
meta | description |
---|---|
Type | Boolean |
Defined in | cocos2d/core/3d/particle/renderer/trail.ts:258 |
colorOverTrail
The color of trajectories.
meta | description |
---|---|
Type | GradientRange |
Defined in | cocos2d/core/3d/particle/renderer/trail.ts:266 |
colorOvertime
Trajectories color over time.
meta | description |
---|---|
Type | GradientRange |
Defined in | cocos2d/core/3d/particle/renderer/trail.ts:276 |