Expand description
Built-in text effects for bevy_pretty_text.
bevy_pretty_effects is an optional dependency, enabled by default in bevy_pretty_text
with the default_effects feature.
For creating custom effects, see pretty_text::dynamic_effects.
Structs§
- Effects
Plugin pretty_text_effects’s top-level plugin.- Glitch
- Displaces scanlines in a glyph.
- Scramble
- Cycles between random, alphanumeric glyphs.
- Shake
- Applies random linear motion within a radius.
- Wave
- Applies oscillating motion to a glyph along the y-axis.
- Wobble
- Applies complex circular motion to a glyph along both x and y axes.
Enums§
- Scramble
Lifetime - Controls the time in seconds that a glyph will scramble.
- Scramble
Speed - Controls the time in seconds that a glyph is retained.
Functions§
- apply_
effect_ on_ glyphs - This observer triggers whenever a
Glyphis spawned and checks if the glyph’sGlyphSpanEntityhas the targetEffect. If it does, thenMarkeris inserted into the glyph.