Taos API Reference
    Preparing search index...

    Interface EventNode

    One-shot actions triggered at a specific point in a particle's life.

    interface EventNode {
        trigger: "on_spawn" | "on_death";
        actions: ModifierNode[];
    }
    Index

    Properties

    Properties

    trigger: "on_spawn" | "on_death"

    When to fire the actions: at spawn time, or just before the particle is recycled.

    actions: ModifierNode[]

    Modifier snippets executed once at the trigger point.