Component:TextureSheetAnimator: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Texture Sheet Animator
|Name=Texture Sheet Animator
}}
}}
{{stub}}
The '''TextureSheetAnimator''' component makes particles animate their texture over lifetime or duration.
 
This component is part of the [[Photon Dust]] system made by [[User:Frooxius|Frooxius]].


== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|TileGridSize|Int2|
|TileGridSize|Int2| The amount of cells and rows that the texture atlas sheet has.
|AnimationCycleCount|Float|
|AnimationCycleCount|Float| How many times to cycle the animation during the specified time frame.
|AnimationType|TextureSheetAnimationType|
|AnimationType|TextureSheetAnimationType| The animation type to use for the texture sheet animation.
|RowIndex|Int|
|RowIndex|Int| The row index to start on.
|UseRandomRow|Bool|
|UseRandomRow|Bool| Whether to start the texture sheet animation in a random row.
|StartWithRandomOffset|Bool|
|StartWithRandomOffset|Bool| Start the texture sheet animation in a random column.
}}
 
== 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 ==
Can be used to make burning fire, or twinkling stars on particles.


== See Also ==
== See Also ==
* [[Component:ParticleSystem]]
* [[Photon Dust]]


[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Texture Sheet Animator]]
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Texture Sheet Animator]]
[[Category:Components{{#translation:}}|Texture Sheet Animator]]
[[Category:Components{{#translation:}}|Texture Sheet Animator]]
[[Category:ComponentStubs]]

Latest revision as of 20:37, 8 February 2025

Component image 
File:TextureSheetAnimatorComponent.png
Texture Sheet Animator component as seen in the Scene Inspector

The TextureSheetAnimator component makes particles animate their texture over lifetime or duration.

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.
TileGridSize Int2 The amount of cells and rows that the texture atlas sheet has.
AnimationCycleCount Float How many times to cycle the animation during the specified time frame.
AnimationType TextureSheetAnimationType The animation type to use for the texture sheet animation.
RowIndex Int The row index to start on.
UseRandomRow Bool Whether to start the texture sheet animation in a random row.
StartWithRandomOffset Bool Start the texture sheet animation in a random column.

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

Can be used to make burning fire, or twinkling stars on particles.

See Also