Component image File:ParticleTrailsModuleComponent.pngParticle Trails Module component as seen in the Scene Inspector
The ParticleTrailsModule component allows particles to have trails with different properties. This can be added multiple times for different trail types.
This component is part of the Photon Dust system made by Frooxius.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
Material
|
Material | The material the particle trails should have. |
TextureMode
|
TrailTextureMode | How to handle the textures on trails. |
MotionVectorMode
|
MotionVectorMode | How to handle rendering the trails when it comes to motion vectors. |
GenerateLightingData
|
Bool | Whether the trails have lighting data. |
TrailsRatio
|
Float | How many of the particles as a 0<->1 percentage should have trails |
Distribution
|
ParticleFollowerDistribution | How to distribute the followers for this module. |
MaxTrails
|
Int | The maximum amount of trails the system can have of this particular trail type. |
SimulationSpace
|
direct RootSpace | What Transform space to simulate the trails for this module in? |
MinVertexDistance
|
Float | The minimum vertex distance between trail segments when generating trail geometry. |
TrailDiesWithParticle
|
Bool | Whether the trail disappears instantly when the particle dies or not. |
ParticleColorInheritance
|
TrailParticleInheritance | How the trail inherits the color of the particle it's following. |
ParticleSizeInheritance
|
TrailParticleInheritance | How the trail inherits the size of the particle it's following. |
SizeInheritanceMode
|
UniformSizeMode | How the size the trail inherited from the particle it's followinh should be applied. |
Usage
Attach to a slot, add to the list of modules in a Component:ParticleSystem, and adjust the values to make the desired effect from this component.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
See Also
- Component:ParticleTrailsModule
- Component:TrailColorConstantInitializer
- Component:TrailColorRangeInitializer
- Component:TrailLifetimeConstantInitializer
- Component:TrailLifetimeFromSizeInitializer
- Component:TrailLifetimeRangeInitializer
- Component:TrailWidthConstantInitializer
- Component:TrailWidthRangeInitializer
- Component:ParticleSystem
- Photon Dust