PatternMaterialAnimator
Attachable @[Tool] node for animating a target node's PatternMaterial (pattern_replace.gdshader)
in both the Godot Editor and at runtime.
Supports:
- Spritesheet Flipbook Sequences: Cycles through a comma-separated list of
Faces,Glyphs, or custom frame indices atflipbook_fps(forward loop or ping-pong). - Palette Theme Cycling: Smoothly cross-fades or step-cycles through
Palette::Themeharmonies. - Dissolve & Glitch Triggers: One-call methods and Inspector buttons for dissolve-in, dissolve-out, and VHS glitch bursts.
Constructors
Class methods
Instance methods
Dispatches inspector tool button clicks on this object.
Virtual method and property dispatch hooks overridden by class registration macros.
Delta timestep is received with 64-bit precision (Float64).
Dispatches generic virtual methods with raw arguments and return buffer.
Invoked by the GDExtension bridge when retrieving an exposed @export property.
Invoked by the GDExtension bridge when setting an exposed @export property.
Per-frame process callback receiving delta timestep in seconds (Float64).
Calls the named method on the object with variable arguments.
Computes the active (fg_color, bg_color) pair at the current @elapsed time.
Computes the active 0-based sprite frame index at the current @elapsed time.
Triggers a timed VHS glitch tear burst.
Resolves the list of 0-based atlas frame indices from frame_keys_csv and atlas_source.
Advances all active flipbook, palette cycle, dissolve, and glitch animations by delta seconds.