docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Trigger Event Rate

    Menu Path : GPU Event > Trigger Event Rate

    The Trigger Event Rate Block triggers the creation of particles via a GPU Event using a specified rate. You can set the rate to spawn particles over time (per second) or over distance (parent particle distance change).

    Trigger Blocks always execute at the end of the Update Context, regardless of where the Block is situated within the Context.

    Block compatibility

    This Block is compatible with the following Contexts:

    • Update

    Block settings

    Setting Type Description
    Mode Enum The method this Block uses to apply the Rate. The options are:
    • Over Time: Applies the Rate over time.
    • Over Distance: Applies the Rate over distance.

    Block properties

    Input Type Description
    Rate Float The number of GPU Event particles to spawn based on the Mode.
    If you set Mode to Over Time, this is the number of GPU Event particles to spawn per second.
    If you set Mode to Over Distance, this is the number of GPU Event particles to spawn as the parent particle moves.
    Output Type Description
    Evt GPU Event The GPU Event to trigger.
    In This Article
    • Block compatibility
    • Block settings
    • Block properties
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)