Trigger Event Block reference
The Trigger Event Block spawns particles using a GPU Event.
Block compatibility
You can add the Trigger Event Block to the following Contexts:
To add a Trigger Event Block to your graph, open the menu for adding a graph element then select GPUEvent > Trigger Event.
Trigger Blocks always execute at the end of the Update Context, regardless of where you place the Block.
Block settings
Property | Type | Description |
---|---|---|
Mode | Enum | The options are:
|
Block properties
Input | Type | Description |
---|---|---|
Count | Uint | Sets the number of particles to spawn. This property is available only if you set Mode to Always, On Die, or On Collide. |
Rate | Float | Sets the rate at which to spawn particles. This property is available only if you set Mode to Over Time or Over Distance. If you set Mode to Over Time, Rate sets the number of particles to spawn per second. If you set Mode to Over Distance, Rate sets the number of particles to spawn over the distance the parent particle moves. |
Block output
Output | Type | Description |
---|---|---|
Evt | GPU Event | The GPU Event to trigger. |
Inspector window properties
Property | Type | Description |
---|---|---|
Clamp To One | Bool | Limits GPU Events to one per frame. This property is available only if you set Mode to Over Time or Over Distance. |