PopcornFX v2.18

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
  1. Home
  2. Docs
  3. PopcornFX v2.18
  4. Plugins
  5. O3DE Gem
  6. Event Buses
  7. PopcornFX Events

PopcornFX Events

The PopcornFX events bus has the same use as the emitter component events bus, but is used for standalone emitters.

 

Return typeDescription
voidOnFxCreated(StandaloneEmitter *emitter)
Triggered when the standalone effect has been created.
emitter is the pointer to the standalone emitter.
voidOnFxDisabled(StandaloneEmitter *emitter)
Triggered when the standalone effect has been disabled.

emitter is the pointer to the standalone emitter.
Warning: This function is not completly implemented for now.
voidOnFxBroadcastEvent(SBroadcastParams *broadcastParams)
Triggered when an effect export an event to the game engine. SBroadcastParams contains the exported event name.
In this callback, you can use the PopcornFXIntegrationBus::Handler::GetCurrentPayloadValue to retrieve the current event payloads (values transferred from the PopcornFX nodegraph to the engine).

 

Was this article helpful to you? Yes No

How can we help?