Skip to content

VfxAudioComponent

16.21

Inheritance 2 ancestors

Class Documentation

Edit documentation

Plays sound events for a component emitter. It is not one of the five named slots: it goes in the components list of the emitter's VfxComponents graph. Each entry of AudioCues is one sound, and the cue's LifetimeBehavior decides when it starts and when it stops, see VfxAudioCue.

The component sends each cue's sound to the audio system as an event name, with a particle's position.

The component creates its running part, VfxAudioRuntime, with the emitter. That object stores the handles of the sounds that are still playing.

Properties