Open 3D Engine AzToolsFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::Layers::EditorLayerComponentNotifications Class Referenceabstract

#include <EditorLayerComponentBus.h>

Inherits AZ::EBusTraits.

Public Member Functions

virtual void OnLayerComponentActivated (AZ::EntityId entityId)=0
 
virtual void OnLayerComponentDeactivated (AZ::EntityId entityId)=0
 

Static Public Attributes

static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple
 
static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single
 

Detailed Description

This is a single bus with multiple listeners, for allowing systems to listen when specific layer component events occur.

Member Function Documentation

◆ OnLayerComponentActivated()

virtual void AzToolsFramework::Layers::EditorLayerComponentNotifications::OnLayerComponentActivated ( AZ::EntityId  entityId)
pure virtual

Called when a layer component is activated on a layer entity

Parameters
entityIdThe id of the entity whose layer component has been activated.

◆ OnLayerComponentDeactivated()

virtual void AzToolsFramework::Layers::EditorLayerComponentNotifications::OnLayerComponentDeactivated ( AZ::EntityId  entityId)
pure virtual

Called when a layer component is deactivated on a layer entity

Parameters
entityIdThe id of the entity whose layer component has been deactivated.

The documentation for this class was generated from the following file: