The '''TrailLifetimeFromSizeInitializer''' component will give trails a lifetime depending on how much more or less size they have compared to a ref size.
This component is part of the [[Photon Dust]] system made by [[User:Frooxius|Frooxius]].
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|ReferenceSize|Float|
|ReferenceSize|Float| The size to reference a trail size against when making a trail's lifetime.
}}
== Sync Delegates ==
{{Table ComponentTriggers
}}
}}
== Usage ==
== 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 ==
== Examples ==
{{stub}}
== See Also ==
== See Also ==
{{Template:PhotonDustTrailModules}}
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Trail Lifetime From Size Initializer]]
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Trail Lifetime From Size Initializer]]
[[Category:Components{{#translation:}}|Trail Lifetime From Size Initializer]]
[[Category:Components{{#translation:}}|Trail Lifetime From Size Initializer]]