#include <AudioSwitchComponent.h>
Inherits AZ::Component, and AudioSwitchComponentRequestBus::Handler.
Public Member Functions | |
| AZ_COMPONENT (AudioSwitchComponent, "{85FD9037-A5EA-4783-B49A-7959BBB34011}") | |
| void | Activate () override |
| void | Deactivate () override |
| AudioSwitchComponent (const AZStd::string &switchName, const AZStd::string &stateName) | |
| void | SetState (const char *stateName) override |
| void | SetSwitchState (const char *switchName, const char *stateName) override |
AudioSwitchComponent A 'Switch' is something that can be in one 'State' at a time, but "switched" at run-time. For example, a Switch called 'SurfaceMaterial' might have States such as 'Grass', 'Snow', 'Metal', 'Wood'. But a Footstep sound would only be in one of those States at a time.
| LmbrCentral::AudioSwitchComponent::AZ_COMPONENT | ( | AudioSwitchComponent | , |
| "{85FD9037-A5EA-4783-B49A-7959BBB34011}" | |||
| ) |
AZ::Component
|
override |
AudioSwitchComponentRequestBus::Handler Interface