#include <AudioTriggerComponent.h>
Inherits AZ::Component, and AudioTriggerComponentRequestBus::Handler.
Public Member Functions | |
AZ_COMPONENT (AudioTriggerComponent, "{8CBBB54B-7435-4D33-844D-E7F201BD581A}") | |
void | Activate () override |
void | Deactivate () override |
AudioTriggerComponent (const AZStd::string &playTriggerName, const AZStd::string &stopTriggerName, Audio::ObstructionType obstructionType, bool playsImmediately) | |
AZ_DISABLE_COPY (AudioTriggerComponent) | |
void | Play () override |
void | Stop () override |
void | ExecuteTrigger (const char *triggerName) override |
void | KillTrigger (const char *triggerName) override |
void | KillAllTriggers () override |
void | SetMovesWithEntity (bool shouldTrackEntity) override |
void | SetObstructionType (Audio::ObstructionType obstructionType) override |
AudioTriggerComponent Allows controlling ATL Triggers, executing and stopping them. Trigger name can be serialized with the component, or manually specified at runtime for use in scripting. There is only 1 AudioTriggerComponent allowed on an Entity, but the interface supports firing multiple ATL Triggers.
LmbrCentral::AudioTriggerComponent::AZ_COMPONENT | ( | AudioTriggerComponent | , |
"{8CBBB54B-7435-4D33-844D-E7F201BD581A}" | |||
) |
AZ::Component
|
override |
AudioTriggerComponentRequestBus::Handler Interface