Component:AlphaOverLifetimeLinearGradient

From Resonite Wiki
Revision as of 17:51, 8 February 2025 by 989onan (talk | contribs) (add see also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
File:AlphaOverLifetimeLinearGradientComponent.png
Alpha Over Lifetime Linear Gradient component as seen in the Scene Inspector

The AlphaOverLifetimeLinearGradient component implements the older alpha over lifetime system that came from Unity. It allows for particles to change alpha depending on how long they have existed for.

A more modern alternative to this with actual editablilty is the ColorOverLifetimeTexture component.

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.
AlphaOverLifetime direct SyncLinear`1<Float> The Linear Gradient of alpha values to use over lifetime.

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