Component:ColorOverLifetimeTexture: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Color Over Lifetime Texture
|Name=Color Over Lifetime Texture
}}
}}
{{stub}}
The '''ColorOverLifetimeTexture''' component samples a texture during life time along the X axis to get the color that a Particle should be.
 
This component is part of the [[Photon Dust]] system made by [[User:Frooxius|Frooxius]].


== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Texture|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv0=true|
|Texture|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv0=true| The texture to sample along the X axis based on Lifetime normalized to get a color for particles.
}}
 
== 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 Texture]]
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Color Over Lifetime Texture]]
[[Category:Components{{#translation:}}|Color Over Lifetime Texture]]
[[Category:Components{{#translation:}}|Color Over Lifetime Texture]]
[[Category:ComponentStubs]]

Latest revision as of 18:09, 8 February 2025

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

The ColorOverLifetimeTexture component samples a texture during life time along the X axis to get the color that a Particle should be.

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.
Texture Texture2D The texture to sample along the X axis based on Lifetime normalized to get a color for particles.

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