Open 3D Engine LmbrCentral Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <AudioAreaEnvironmentComponent.h>
Inherits AZ::Component, Physics::RigidBodyNotificationBus::Handler, and AZ::TransformNotificationBus::MultiHandler.
Public Member Functions | |
AZ_COMPONENT (AudioAreaEnvironmentComponent, "{52300012-FFCD-4559-9479-20F463940320}") | |
void | Activate () override |
void | Deactivate () override |
void | OnTransformChanged (const AZ::Transform &, const AZ::Transform &) override |
Protected Member Functions | |
void | OnPhysicsEnabled (const AZ::EntityId &entityId) override |
void | OnPhysicsDisabled (const AZ::EntityId &entityId) override |
Friends | |
class | EditorAudioAreaEnvironmentComponent |
AudioAreaEnvironmentComponent This component contains an Entity reference which should link to an Entity that has a TriggerAreaComponent or PhysX Collider with Trigger enabled. That Trigger Area (and shape) will act as the broad-phase trigger. Once Entities go inside, this component will track their movement until they leave the Trigger Area. The AudioAreaEnvironmentComponent's Entity requires it's own Shape that defines where the Environment is fully applied. This shape should be placed interior to the Trigger Area. Entities that are between the two shapes will 'fade' the environment amount based on the Environment fade distance property.
LmbrCentral::AudioAreaEnvironmentComponent::AZ_COMPONENT | ( | AudioAreaEnvironmentComponent | , |
"{52300012-FFCD-4559-9479-20F463940320}" | |||
) |
AZ::Component
|
override |
AZ::TransformNotificationBus::MultiHandler