The '''ColorOverLifetimeLinearGradient''' component implements the older color over lifetime system that came from Unity. It allows for particles to change color depending on how long they have existed for.
This component is part of the [[Photon Dust]] system made by [[User:Frooxius|Frooxius]].
A more modern alternative to this with actual editablilty is the [[Component:ColorOverLifetimeTexture|ColorOverLifetimeTexture]] component.
|ColorOverLifetime|{{RootFieldType|SyncLinear`1|[[Type:ColorX|ColorX]]}}|TypeAdv0=true| A Linear Gradient of colors and points to use to give particles color over lifetime.
}}
}}
== Sync Delegates ==
== Sync Delegates ==
{{Table ComponentTriggers
{{Table ComponentTriggers
|SetupIntensityFadeInFadeOut:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Changes the intensity gradient to 0% - 10%, 90% - 100%
|SetupIntensityFadeOut:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Changes the intensity gradient to 0% - 10%
|SetupIntensityFadeIn:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Changes the intensity gradient to 90% - 100%
|ClearFadeEffects:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Changes the intensity gradient to have no effect.
}}
}}
== 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 ==
== See Also ==
== See Also ==
* [[Component:ColorOverLifetimeStartEnd]]
* [[Component:ColorHSV OverLifetimeStartEnd]]
* [[Component:ColorOverLifetimeTexture]]
* [[Component:AlphaOverLifetimeLinearGradient]]
* [[Component:ParticleSystem]]
* [[Photon Dust]]
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Color Over Lifetime Linear Gradient]]
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Color Over Lifetime Linear Gradient]]
[[Category:Components{{#translation:}}|Color Over Lifetime Linear Gradient]]
[[Category:Components{{#translation:}}|Color Over Lifetime Linear Gradient]]
[[Category:ComponentStubs]]
Latest revision as of 22:54, 18 March 2025
Component image
Color Over Lifetime Linear Gradient component as seen in the Scene Inspector
The ColorOverLifetimeLinearGradient component implements the older color over lifetime system that came from Unity. It allows for particles to change color depending on how long they have existed for.