Component:ColorOverLifetimeStartEnd: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
Line 3: Line 3:
|Name=Color Over Lifetime Start End
|Name=Color Over Lifetime Start End
}}
}}
{{stub}}
The '''ColorOverLifetimeStartEnd''' component makes particles in a Particle system change color linearly over the duration of their lifetime.
 
This component is part of the [[Photon Dust]] system made by [[User:Frooxius|Frooxius]].


== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|StartColor|Color|
|StartColor|Color| The color particles should be when emitted.
|EndColor|Color|
|EndColor|Color| The color particles should lerp towards over their lifetime and they will have this color right before they die.
}}
 
== 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 ==


== 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 Start End]]
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Color Over Lifetime Start End]]
[[Category:Components{{#translation:}}|Color Over Lifetime Start End]]
[[Category:Components{{#translation:}}|Color Over Lifetime Start End]]
[[Category:ComponentStubs]]

Revision as of 17:53, 8 February 2025

Component image 
Color Over Lifetime Start End component as seen in the Scene Inspector

The ColorOverLifetimeStartEnd component makes particles in a Particle system change color linearly over the duration of their lifetime.

This component is part of the Photon Dust system made by Frooxius.

Fields

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.
StartColor Color The color particles should be when emitted.
EndColor Color The color particles should lerp towards over their lifetime and they will have this color right before they die.

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

See Also